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