Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterRoleBindings
- func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1beta1.ClusterRoleBinding) (result *v1beta1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterRoleBindings) Get(name string, options v1.GetOptions) (result *v1beta1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) List(opts v1.ListOptions) (result *v1beta1.ClusterRoleBindingList, err error)
- func (c *FakeClusterRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1beta1.ClusterRoleBinding) (result *v1beta1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterRoles
- func (c *FakeClusterRoles) Create(clusterRole *v1beta1.ClusterRole) (result *v1beta1.ClusterRole, err error)
- func (c *FakeClusterRoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterRoles) Get(name string, options v1.GetOptions) (result *v1beta1.ClusterRole, err error)
- func (c *FakeClusterRoles) List(opts v1.ListOptions) (result *v1beta1.ClusterRoleList, err error)
- func (c *FakeClusterRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ClusterRole, err error)
- func (c *FakeClusterRoles) Update(clusterRole *v1beta1.ClusterRole) (result *v1beta1.ClusterRole, err error)
- func (c *FakeClusterRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRbacV1beta1
- func (c *FakeRbacV1beta1) ClusterRoleBindings() v1beta1.ClusterRoleBindingInterface
- func (c *FakeRbacV1beta1) ClusterRoles() v1beta1.ClusterRoleInterface
- func (c *FakeRbacV1beta1) RESTClient() rest.Interface
- func (c *FakeRbacV1beta1) RoleBindings(namespace string) v1beta1.RoleBindingInterface
- func (c *FakeRbacV1beta1) Roles(namespace string) v1beta1.RoleInterface
- type FakeRoleBindings
- func (c *FakeRoleBindings) Create(roleBinding *v1beta1.RoleBinding) (result *v1beta1.RoleBinding, err error)
- func (c *FakeRoleBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRoleBindings) Get(name string, options v1.GetOptions) (result *v1beta1.RoleBinding, err error)
- func (c *FakeRoleBindings) List(opts v1.ListOptions) (result *v1beta1.RoleBindingList, err error)
- func (c *FakeRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.RoleBinding, err error)
- func (c *FakeRoleBindings) Update(roleBinding *v1beta1.RoleBinding) (result *v1beta1.RoleBinding, err error)
- func (c *FakeRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Create(role *v1beta1.Role) (result *v1beta1.Role, err error)
- func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRoles) Get(name string, options v1.GetOptions) (result *v1beta1.Role, err error)
- func (c *FakeRoles) List(opts v1.ListOptions) (result *v1beta1.RoleList, err error)
- func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Role, err error)
- func (c *FakeRoles) Update(role *v1beta1.Role) (result *v1beta1.Role, err error)
- func (c *FakeRoles) Watch(opts v1.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 *FakeRbacV1beta1
}
FakeClusterRoleBindings implements ClusterRoleBindingInterface
func (*FakeClusterRoleBindings) Create ¶
func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1beta1.ClusterRoleBinding) (result *v1beta1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) Delete ¶
func (c *FakeClusterRoleBindings) Delete(name string, options *v1.DeleteOptions) error
func (*FakeClusterRoleBindings) DeleteCollection ¶
func (c *FakeClusterRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeClusterRoleBindings) Get ¶
func (c *FakeClusterRoleBindings) Get(name string, options v1.GetOptions) (result *v1beta1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) List ¶
func (c *FakeClusterRoleBindings) List(opts v1.ListOptions) (result *v1beta1.ClusterRoleBindingList, err error)
func (*FakeClusterRoleBindings) Patch ¶
func (c *FakeClusterRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ClusterRoleBinding, err error)
Patch applies the patch and returns the patched clusterRoleBinding.
func (*FakeClusterRoleBindings) Update ¶
func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1beta1.ClusterRoleBinding) (result *v1beta1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) Watch ¶
func (c *FakeClusterRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRoleBindings.
type FakeClusterRoles ¶
type FakeClusterRoles struct {
Fake *FakeRbacV1beta1
}
FakeClusterRoles implements ClusterRoleInterface
func (*FakeClusterRoles) Create ¶
func (c *FakeClusterRoles) Create(clusterRole *v1beta1.ClusterRole) (result *v1beta1.ClusterRole, err error)
func (*FakeClusterRoles) Delete ¶
func (c *FakeClusterRoles) Delete(name string, options *v1.DeleteOptions) error
func (*FakeClusterRoles) DeleteCollection ¶
func (c *FakeClusterRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeClusterRoles) Get ¶
func (c *FakeClusterRoles) Get(name string, options v1.GetOptions) (result *v1beta1.ClusterRole, err error)
func (*FakeClusterRoles) List ¶
func (c *FakeClusterRoles) List(opts v1.ListOptions) (result *v1beta1.ClusterRoleList, err error)
func (*FakeClusterRoles) Patch ¶
func (c *FakeClusterRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ClusterRole, err error)
Patch applies the patch and returns the patched clusterRole.
func (*FakeClusterRoles) Update ¶
func (c *FakeClusterRoles) Update(clusterRole *v1beta1.ClusterRole) (result *v1beta1.ClusterRole, err error)
func (*FakeClusterRoles) Watch ¶
func (c *FakeClusterRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRoles.
type FakeRbacV1beta1 ¶
func (*FakeRbacV1beta1) ClusterRoleBindings ¶
func (c *FakeRbacV1beta1) ClusterRoleBindings() v1beta1.ClusterRoleBindingInterface
func (*FakeRbacV1beta1) ClusterRoles ¶
func (c *FakeRbacV1beta1) ClusterRoles() v1beta1.ClusterRoleInterface
func (*FakeRbacV1beta1) RESTClient ¶
func (c *FakeRbacV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeRbacV1beta1) RoleBindings ¶
func (c *FakeRbacV1beta1) RoleBindings(namespace string) v1beta1.RoleBindingInterface
func (*FakeRbacV1beta1) Roles ¶
func (c *FakeRbacV1beta1) Roles(namespace string) v1beta1.RoleInterface
type FakeRoleBindings ¶
type FakeRoleBindings struct { Fake *FakeRbacV1beta1 // contains filtered or unexported fields }
FakeRoleBindings implements RoleBindingInterface
func (*FakeRoleBindings) Create ¶
func (c *FakeRoleBindings) Create(roleBinding *v1beta1.RoleBinding) (result *v1beta1.RoleBinding, err error)
func (*FakeRoleBindings) Delete ¶
func (c *FakeRoleBindings) Delete(name string, options *v1.DeleteOptions) error
func (*FakeRoleBindings) DeleteCollection ¶
func (c *FakeRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeRoleBindings) Get ¶
func (c *FakeRoleBindings) Get(name string, options v1.GetOptions) (result *v1beta1.RoleBinding, err error)
func (*FakeRoleBindings) List ¶
func (c *FakeRoleBindings) List(opts v1.ListOptions) (result *v1beta1.RoleBindingList, err error)
func (*FakeRoleBindings) Patch ¶
func (c *FakeRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.RoleBinding, err error)
Patch applies the patch and returns the patched roleBinding.
func (*FakeRoleBindings) Update ¶
func (c *FakeRoleBindings) Update(roleBinding *v1beta1.RoleBinding) (result *v1beta1.RoleBinding, err error)
func (*FakeRoleBindings) Watch ¶
func (c *FakeRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested roleBindings.
type FakeRoles ¶
type FakeRoles struct { Fake *FakeRbacV1beta1 // contains filtered or unexported fields }
FakeRoles implements RoleInterface
func (*FakeRoles) DeleteCollection ¶
func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeRoles) Patch ¶
func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Role, err error)
Patch applies the patch and returns the patched role.