Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterRoleBindings
- func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *rbac.ClusterRoleBinding) (result *rbac.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeClusterRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeClusterRoleBindings) Get(name string) (result *rbac.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) List(opts api.ListOptions) (result *rbac.ClusterRoleBindingList, err error)
- func (c *FakeClusterRoleBindings) Patch(name string, pt api.PatchType, data []byte) (result *rbac.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *rbac.ClusterRoleBinding) (result *rbac.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeClusterRoles
- func (c *FakeClusterRoles) Create(clusterRole *rbac.ClusterRole) (result *rbac.ClusterRole, err error)
- func (c *FakeClusterRoles) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeClusterRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeClusterRoles) Get(name string) (result *rbac.ClusterRole, err error)
- func (c *FakeClusterRoles) List(opts api.ListOptions) (result *rbac.ClusterRoleList, err error)
- func (c *FakeClusterRoles) Patch(name string, pt api.PatchType, data []byte) (result *rbac.ClusterRole, err error)
- func (c *FakeClusterRoles) Update(clusterRole *rbac.ClusterRole) (result *rbac.ClusterRole, err error)
- func (c *FakeClusterRoles) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeRbac
- func (c *FakeRbac) ClusterRoleBindings() unversioned.ClusterRoleBindingInterface
- func (c *FakeRbac) ClusterRoles() unversioned.ClusterRoleInterface
- func (c *FakeRbac) GetRESTClient() *restclient.RESTClient
- func (c *FakeRbac) RoleBindings(namespace string) unversioned.RoleBindingInterface
- func (c *FakeRbac) Roles(namespace string) unversioned.RoleInterface
- type FakeRoleBindings
- func (c *FakeRoleBindings) Create(roleBinding *rbac.RoleBinding) (result *rbac.RoleBinding, err error)
- func (c *FakeRoleBindings) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeRoleBindings) Get(name string) (result *rbac.RoleBinding, err error)
- func (c *FakeRoleBindings) List(opts api.ListOptions) (result *rbac.RoleBindingList, err error)
- func (c *FakeRoleBindings) Patch(name string, pt api.PatchType, data []byte) (result *rbac.RoleBinding, err error)
- func (c *FakeRoleBindings) Update(roleBinding *rbac.RoleBinding) (result *rbac.RoleBinding, err error)
- func (c *FakeRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Create(role *rbac.Role) (result *rbac.Role, err error)
- func (c *FakeRoles) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeRoles) Get(name string) (result *rbac.Role, err error)
- func (c *FakeRoles) List(opts api.ListOptions) (result *rbac.RoleList, err error)
- func (c *FakeRoles) Patch(name string, pt api.PatchType, data []byte) (result *rbac.Role, err error)
- func (c *FakeRoles) Update(role *rbac.Role) (result *rbac.Role, err error)
- func (c *FakeRoles) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterRoleBindings ¶
type FakeClusterRoleBindings struct {
Fake *FakeRbac
}
FakeClusterRoleBindings implements ClusterRoleBindingInterface
func (*FakeClusterRoleBindings) Create ¶
func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *rbac.ClusterRoleBinding) (result *rbac.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 *rbac.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) List ¶
func (c *FakeClusterRoleBindings) List(opts api.ListOptions) (result *rbac.ClusterRoleBindingList, err error)
func (*FakeClusterRoleBindings) Patch ¶ added in v1.4.1
func (c *FakeClusterRoleBindings) Patch(name string, pt api.PatchType, data []byte) (result *rbac.ClusterRoleBinding, err error)
Patch applies the patch and returns the patched clusterRoleBinding.
func (*FakeClusterRoleBindings) Update ¶
func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *rbac.ClusterRoleBinding) (result *rbac.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) Watch ¶
func (c *FakeClusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error)
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 *rbac.ClusterRole) (result *rbac.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 *rbac.ClusterRole, err error)
func (*FakeClusterRoles) List ¶
func (c *FakeClusterRoles) List(opts api.ListOptions) (result *rbac.ClusterRoleList, err error)
func (*FakeClusterRoles) Patch ¶ added in v1.4.1
func (c *FakeClusterRoles) Patch(name string, pt api.PatchType, data []byte) (result *rbac.ClusterRole, err error)
Patch applies the patch and returns the patched clusterRole.
func (*FakeClusterRoles) Update ¶
func (c *FakeClusterRoles) Update(clusterRole *rbac.ClusterRole) (result *rbac.ClusterRole, err error)
func (*FakeClusterRoles) Watch ¶
func (c *FakeClusterRoles) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRoles.
type FakeRbac ¶
func (*FakeRbac) ClusterRoleBindings ¶
func (c *FakeRbac) ClusterRoleBindings() unversioned.ClusterRoleBindingInterface
func (*FakeRbac) ClusterRoles ¶
func (c *FakeRbac) ClusterRoles() unversioned.ClusterRoleInterface
func (*FakeRbac) GetRESTClient ¶
func (c *FakeRbac) GetRESTClient() *restclient.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) unversioned.RoleBindingInterface
func (*FakeRbac) Roles ¶
func (c *FakeRbac) Roles(namespace string) unversioned.RoleInterface
type FakeRoleBindings ¶
type FakeRoleBindings struct { Fake *FakeRbac // contains filtered or unexported fields }
FakeRoleBindings implements RoleBindingInterface
func (*FakeRoleBindings) Create ¶
func (c *FakeRoleBindings) Create(roleBinding *rbac.RoleBinding) (result *rbac.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 *rbac.RoleBinding, err error)
func (*FakeRoleBindings) List ¶
func (c *FakeRoleBindings) List(opts api.ListOptions) (result *rbac.RoleBindingList, err error)
func (*FakeRoleBindings) Patch ¶ added in v1.4.1
func (c *FakeRoleBindings) Patch(name string, pt api.PatchType, data []byte) (result *rbac.RoleBinding, err error)
Patch applies the patch and returns the patched roleBinding.
func (*FakeRoleBindings) Update ¶
func (c *FakeRoleBindings) Update(roleBinding *rbac.RoleBinding) (result *rbac.RoleBinding, err error)
func (*FakeRoleBindings) Watch ¶
func (c *FakeRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error)
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) 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) Patch ¶ added in v1.4.1
func (c *FakeRoles) Patch(name string, pt api.PatchType, data []byte) (result *rbac.Role, err error)
Patch applies the patch and returns the patched role.