package fake

import "k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeClusterRoleBindings

type FakeClusterRoleBindings struct {
	Fake *FakeRbac
}

FakeClusterRoleBindings implements ClusterRoleBindingInterface

func (*FakeClusterRoleBindings) Create

func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1alpha1.ClusterRoleBinding) (result *v1alpha1.ClusterRoleBinding, err error)

func (*FakeClusterRoleBindings) Delete

func (c *FakeClusterRoleBindings) Delete(name string, options *api.DeleteOptions) error

func (*FakeClusterRoleBindings) DeleteCollection

func (c *FakeClusterRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeClusterRoleBindings) Get

func (c *FakeClusterRoleBindings) Get(name string) (result *v1alpha1.ClusterRoleBinding, err error)

func (*FakeClusterRoleBindings) List

func (*FakeClusterRoleBindings) Patch

func (c *FakeClusterRoleBindings) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRoleBinding, err error)

Patch applies the patch and returns the patched clusterRoleBinding.

func (*FakeClusterRoleBindings) Update

func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1alpha1.ClusterRoleBinding) (result *v1alpha1.ClusterRoleBinding, err error)

func (*FakeClusterRoleBindings) Watch

Watch returns a watch.Interface that watches the requested clusterRoleBindings.

type FakeClusterRoles

type FakeClusterRoles struct {
	Fake *FakeRbac
}

FakeClusterRoles implements ClusterRoleInterface

func (*FakeClusterRoles) Create

func (c *FakeClusterRoles) Create(clusterRole *v1alpha1.ClusterRole) (result *v1alpha1.ClusterRole, err error)

func (*FakeClusterRoles) Delete

func (c *FakeClusterRoles) Delete(name string, options *api.DeleteOptions) error

func (*FakeClusterRoles) DeleteCollection

func (c *FakeClusterRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeClusterRoles) Get

func (c *FakeClusterRoles) Get(name string) (result *v1alpha1.ClusterRole, err error)

func (*FakeClusterRoles) List

func (c *FakeClusterRoles) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleList, err error)

func (*FakeClusterRoles) Patch

func (c *FakeClusterRoles) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRole, err error)

Patch applies the patch and returns the patched clusterRole.

func (*FakeClusterRoles) Update

func (c *FakeClusterRoles) Update(clusterRole *v1alpha1.ClusterRole) (result *v1alpha1.ClusterRole, err error)

func (*FakeClusterRoles) Watch

Watch returns a watch.Interface that watches the requested clusterRoles.

type FakeRbac

type FakeRbac struct {
	*testing.Fake
}

func (*FakeRbac) ClusterRoleBindings

func (c *FakeRbac) ClusterRoleBindings() v1alpha1.ClusterRoleBindingInterface

func (*FakeRbac) ClusterRoles

func (c *FakeRbac) ClusterRoles() v1alpha1.ClusterRoleInterface

func (*FakeRbac) GetRESTClient

func (c *FakeRbac) GetRESTClient() *rest.RESTClient

GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeRbac) RoleBindings

func (c *FakeRbac) RoleBindings(namespace string) v1alpha1.RoleBindingInterface

func (*FakeRbac) Roles

func (c *FakeRbac) Roles(namespace string) v1alpha1.RoleInterface

type FakeRoleBindings

type FakeRoleBindings struct {
	Fake *FakeRbac
	// contains filtered or unexported fields
}

FakeRoleBindings implements RoleBindingInterface

func (*FakeRoleBindings) Create

func (c *FakeRoleBindings) Create(roleBinding *v1alpha1.RoleBinding) (result *v1alpha1.RoleBinding, err error)

func (*FakeRoleBindings) Delete

func (c *FakeRoleBindings) Delete(name string, options *api.DeleteOptions) error

func (*FakeRoleBindings) DeleteCollection

func (c *FakeRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeRoleBindings) Get

func (c *FakeRoleBindings) Get(name string) (result *v1alpha1.RoleBinding, err error)

func (*FakeRoleBindings) List

func (c *FakeRoleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBindingList, err error)

func (*FakeRoleBindings) Patch

func (c *FakeRoleBindings) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.RoleBinding, err error)

Patch applies the patch and returns the patched roleBinding.

func (*FakeRoleBindings) Update

func (c *FakeRoleBindings) Update(roleBinding *v1alpha1.RoleBinding) (result *v1alpha1.RoleBinding, err error)

func (*FakeRoleBindings) Watch

Watch returns a watch.Interface that watches the requested roleBindings.

type FakeRoles

type FakeRoles struct {
	Fake *FakeRbac
	// contains filtered or unexported fields
}

FakeRoles implements RoleInterface

func (*FakeRoles) Create

func (c *FakeRoles) Create(role *v1alpha1.Role) (result *v1alpha1.Role, err error)

func (*FakeRoles) Delete

func (c *FakeRoles) Delete(name string, options *api.DeleteOptions) error

func (*FakeRoles) DeleteCollection

func (c *FakeRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeRoles) Get

func (c *FakeRoles) Get(name string) (result *v1alpha1.Role, err error)

func (*FakeRoles) List

func (c *FakeRoles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err error)

func (*FakeRoles) Patch

func (c *FakeRoles) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.Role, err error)

Patch applies the patch and returns the patched role.

func (*FakeRoles) Update

func (c *FakeRoles) Update(role *v1alpha1.Role) (result *v1alpha1.Role, err error)

func (*FakeRoles) Watch

func (c *FakeRoles) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested roles.

Source Files

doc.go fake_clusterrole.go fake_clusterrolebinding.go fake_rbac_client.go fake_role.go fake_rolebinding.go

Version
v1.5.0
Published
Oct 23, 2016
Platform
linux/amd64
Imports
8 packages
Last checked
1 hour ago

Tools for package owners.