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