Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1alpha1
- type FakeCrypts
- func (c *FakeCrypts) Create(crypt *v1alpha1.Crypt) (result *v1alpha1.Crypt, err error)
- func (c *FakeCrypts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrypts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrypts) Get(name string, options v1.GetOptions) (result *v1alpha1.Crypt, err error)
- func (c *FakeCrypts) List(opts v1.ListOptions) (result *v1alpha1.CryptList, err error)
- func (c *FakeCrypts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Crypt, err error)
- func (c *FakeCrypts) Update(crypt *v1alpha1.Crypt) (result *v1alpha1.Crypt, err error)
- func (c *FakeCrypts) UpdateStatus(crypt *v1alpha1.Crypt) (*v1alpha1.Crypt, error)
- func (c *FakeCrypts) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCoreV1alpha1 ¶
func (*FakeCoreV1alpha1) Crypts ¶
func (c *FakeCoreV1alpha1) Crypts(namespace string) v1alpha1.CryptInterface
func (*FakeCoreV1alpha1) RESTClient ¶
func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCrypts ¶
type FakeCrypts struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeCrypts implements CryptInterface
func (*FakeCrypts) Create ¶
Create takes the representation of a crypt and creates it. Returns the server's representation of the crypt, and an error, if there is any.
func (*FakeCrypts) Delete ¶
func (c *FakeCrypts) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the crypt and deletes it. Returns an error if one occurs.
func (*FakeCrypts) DeleteCollection ¶
func (c *FakeCrypts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCrypts) Get ¶
func (c *FakeCrypts) Get(name string, options v1.GetOptions) (result *v1alpha1.Crypt, err error)
Get takes name of the crypt, and returns the corresponding crypt object, and an error if there is any.
func (*FakeCrypts) List ¶
func (c *FakeCrypts) List(opts v1.ListOptions) (result *v1alpha1.CryptList, err error)
List takes label and field selectors, and returns the list of Crypts that match those selectors.
func (*FakeCrypts) Patch ¶
func (c *FakeCrypts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Crypt, err error)
Patch applies the patch and returns the patched crypt.
func (*FakeCrypts) Update ¶
Update takes the representation of a crypt and updates it. Returns the server's representation of the crypt, and an error, if there is any.
func (*FakeCrypts) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCrypts) Watch ¶
func (c *FakeCrypts) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested crypts.