Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationRoleBindings
- func (c *FakeAuthorizationRoleBindings) Create(authorizationRoleBinding *v3.AuthorizationRoleBinding) (result *v3.AuthorizationRoleBinding, err error)
- func (c *FakeAuthorizationRoleBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAuthorizationRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAuthorizationRoleBindings) Get(name string, options v1.GetOptions) (result *v3.AuthorizationRoleBinding, err error)
- func (c *FakeAuthorizationRoleBindings) List(opts v1.ListOptions) (result *v3.AuthorizationRoleBindingList, err error)
- func (c *FakeAuthorizationRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.AuthorizationRoleBinding, err error)
- func (c *FakeAuthorizationRoleBindings) Update(authorizationRoleBinding *v3.AuthorizationRoleBinding) (result *v3.AuthorizationRoleBinding, err error)
- func (c *FakeAuthorizationRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAuthorizationRoles
- func (c *FakeAuthorizationRoles) Create(authorizationRole *v3.AuthorizationRole) (result *v3.AuthorizationRole, err error)
- func (c *FakeAuthorizationRoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAuthorizationRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAuthorizationRoles) Get(name string, options v1.GetOptions) (result *v3.AuthorizationRole, err error)
- func (c *FakeAuthorizationRoles) List(opts v1.ListOptions) (result *v3.AuthorizationRoleList, err error)
- func (c *FakeAuthorizationRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.AuthorizationRole, err error)
- func (c *FakeAuthorizationRoles) Update(authorizationRole *v3.AuthorizationRole) (result *v3.AuthorizationRole, err error)
- func (c *FakeAuthorizationRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeContainershipAuthV3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationRoleBindings ¶
type FakeAuthorizationRoleBindings struct { Fake *FakeContainershipAuthV3 // contains filtered or unexported fields }
FakeAuthorizationRoleBindings implements AuthorizationRoleBindingInterface
func (*FakeAuthorizationRoleBindings) Create ¶
func (c *FakeAuthorizationRoleBindings) Create(authorizationRoleBinding *v3.AuthorizationRoleBinding) (result *v3.AuthorizationRoleBinding, err error)
Create takes the representation of a authorizationRoleBinding and creates it. Returns the server's representation of the authorizationRoleBinding, and an error, if there is any.
func (*FakeAuthorizationRoleBindings) Delete ¶
func (c *FakeAuthorizationRoleBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the authorizationRoleBinding and deletes it. Returns an error if one occurs.
func (*FakeAuthorizationRoleBindings) DeleteCollection ¶
func (c *FakeAuthorizationRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthorizationRoleBindings) Get ¶
func (c *FakeAuthorizationRoleBindings) Get(name string, options v1.GetOptions) (result *v3.AuthorizationRoleBinding, err error)
Get takes name of the authorizationRoleBinding, and returns the corresponding authorizationRoleBinding object, and an error if there is any.
func (*FakeAuthorizationRoleBindings) List ¶
func (c *FakeAuthorizationRoleBindings) List(opts v1.ListOptions) (result *v3.AuthorizationRoleBindingList, err error)
List takes label and field selectors, and returns the list of AuthorizationRoleBindings that match those selectors.
func (*FakeAuthorizationRoleBindings) Patch ¶
func (c *FakeAuthorizationRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.AuthorizationRoleBinding, err error)
Patch applies the patch and returns the patched authorizationRoleBinding.
func (*FakeAuthorizationRoleBindings) Update ¶
func (c *FakeAuthorizationRoleBindings) Update(authorizationRoleBinding *v3.AuthorizationRoleBinding) (result *v3.AuthorizationRoleBinding, err error)
Update takes the representation of a authorizationRoleBinding and updates it. Returns the server's representation of the authorizationRoleBinding, and an error, if there is any.
func (*FakeAuthorizationRoleBindings) Watch ¶
func (c *FakeAuthorizationRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authorizationRoleBindings.
type FakeAuthorizationRoles ¶
type FakeAuthorizationRoles struct { Fake *FakeContainershipAuthV3 // contains filtered or unexported fields }
FakeAuthorizationRoles implements AuthorizationRoleInterface
func (*FakeAuthorizationRoles) Create ¶
func (c *FakeAuthorizationRoles) Create(authorizationRole *v3.AuthorizationRole) (result *v3.AuthorizationRole, err error)
Create takes the representation of a authorizationRole and creates it. Returns the server's representation of the authorizationRole, and an error, if there is any.
func (*FakeAuthorizationRoles) Delete ¶
func (c *FakeAuthorizationRoles) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the authorizationRole and deletes it. Returns an error if one occurs.
func (*FakeAuthorizationRoles) DeleteCollection ¶
func (c *FakeAuthorizationRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthorizationRoles) Get ¶
func (c *FakeAuthorizationRoles) Get(name string, options v1.GetOptions) (result *v3.AuthorizationRole, err error)
Get takes name of the authorizationRole, and returns the corresponding authorizationRole object, and an error if there is any.
func (*FakeAuthorizationRoles) List ¶
func (c *FakeAuthorizationRoles) List(opts v1.ListOptions) (result *v3.AuthorizationRoleList, err error)
List takes label and field selectors, and returns the list of AuthorizationRoles that match those selectors.
func (*FakeAuthorizationRoles) Patch ¶
func (c *FakeAuthorizationRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.AuthorizationRole, err error)
Patch applies the patch and returns the patched authorizationRole.
func (*FakeAuthorizationRoles) Update ¶
func (c *FakeAuthorizationRoles) Update(authorizationRole *v3.AuthorizationRole) (result *v3.AuthorizationRole, err error)
Update takes the representation of a authorizationRole and updates it. Returns the server's representation of the authorizationRole, and an error, if there is any.
func (*FakeAuthorizationRoles) Watch ¶
func (c *FakeAuthorizationRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authorizationRoles.
type FakeContainershipAuthV3 ¶
func (*FakeContainershipAuthV3) AuthorizationRoleBindings ¶
func (c *FakeContainershipAuthV3) AuthorizationRoleBindings(namespace string) v3.AuthorizationRoleBindingInterface
func (*FakeContainershipAuthV3) AuthorizationRoles ¶
func (c *FakeContainershipAuthV3) AuthorizationRoles(namespace string) v3.AuthorizationRoleInterface
func (*FakeContainershipAuthV3) RESTClient ¶
func (c *FakeContainershipAuthV3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.