Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKMSCryptoKeyVersions
- func (c *FakeKMSCryptoKeyVersions) Create(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, ...) (result *v1alpha1.KMSCryptoKeyVersion, err error)
- func (c *FakeKMSCryptoKeyVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKMSCryptoKeyVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKMSCryptoKeyVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSCryptoKeyVersion, err error)
- func (c *FakeKMSCryptoKeyVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSCryptoKeyVersionList, err error)
- func (c *FakeKMSCryptoKeyVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KMSCryptoKeyVersion, err error)
- func (c *FakeKMSCryptoKeyVersions) Update(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, ...) (result *v1alpha1.KMSCryptoKeyVersion, err error)
- func (c *FakeKMSCryptoKeyVersions) UpdateStatus(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, ...) (*v1alpha1.KMSCryptoKeyVersion, error)
- func (c *FakeKMSCryptoKeyVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKMSKeyRingImportJobs
- func (c *FakeKMSKeyRingImportJobs) Create(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, ...) (result *v1alpha1.KMSKeyRingImportJob, err error)
- func (c *FakeKMSKeyRingImportJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKMSKeyRingImportJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKMSKeyRingImportJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSKeyRingImportJob, err error)
- func (c *FakeKMSKeyRingImportJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSKeyRingImportJobList, err error)
- func (c *FakeKMSKeyRingImportJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KMSKeyRingImportJob, err error)
- func (c *FakeKMSKeyRingImportJobs) Update(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, ...) (result *v1alpha1.KMSKeyRingImportJob, err error)
- func (c *FakeKMSKeyRingImportJobs) UpdateStatus(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, ...) (*v1alpha1.KMSKeyRingImportJob, error)
- func (c *FakeKMSKeyRingImportJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKMSSecretCiphertexts
- func (c *FakeKMSSecretCiphertexts) Create(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, ...) (result *v1alpha1.KMSSecretCiphertext, err error)
- func (c *FakeKMSSecretCiphertexts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKMSSecretCiphertexts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKMSSecretCiphertexts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSSecretCiphertext, err error)
- func (c *FakeKMSSecretCiphertexts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSSecretCiphertextList, err error)
- func (c *FakeKMSSecretCiphertexts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KMSSecretCiphertext, err error)
- func (c *FakeKMSSecretCiphertexts) Update(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, ...) (result *v1alpha1.KMSSecretCiphertext, err error)
- func (c *FakeKMSSecretCiphertexts) UpdateStatus(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, ...) (*v1alpha1.KMSSecretCiphertext, error)
- func (c *FakeKMSSecretCiphertexts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKmsV1alpha1
- func (c *FakeKmsV1alpha1) KMSCryptoKeyVersions(namespace string) v1alpha1.KMSCryptoKeyVersionInterface
- func (c *FakeKmsV1alpha1) KMSKeyRingImportJobs(namespace string) v1alpha1.KMSKeyRingImportJobInterface
- func (c *FakeKmsV1alpha1) KMSSecretCiphertexts(namespace string) v1alpha1.KMSSecretCiphertextInterface
- func (c *FakeKmsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKMSCryptoKeyVersions ¶
type FakeKMSCryptoKeyVersions struct { Fake *FakeKmsV1alpha1 // contains filtered or unexported fields }
FakeKMSCryptoKeyVersions implements KMSCryptoKeyVersionInterface
func (*FakeKMSCryptoKeyVersions) Create ¶
func (c *FakeKMSCryptoKeyVersions) Create(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, opts v1.CreateOptions) (result *v1alpha1.KMSCryptoKeyVersion, err error)
Create takes the representation of a kMSCryptoKeyVersion and creates it. Returns the server's representation of the kMSCryptoKeyVersion, and an error, if there is any.
func (*FakeKMSCryptoKeyVersions) Delete ¶
func (c *FakeKMSCryptoKeyVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kMSCryptoKeyVersion and deletes it. Returns an error if one occurs.
func (*FakeKMSCryptoKeyVersions) DeleteCollection ¶
func (c *FakeKMSCryptoKeyVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKMSCryptoKeyVersions) Get ¶
func (c *FakeKMSCryptoKeyVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSCryptoKeyVersion, err error)
Get takes name of the kMSCryptoKeyVersion, and returns the corresponding kMSCryptoKeyVersion object, and an error if there is any.
func (*FakeKMSCryptoKeyVersions) List ¶
func (c *FakeKMSCryptoKeyVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSCryptoKeyVersionList, err error)
List takes label and field selectors, and returns the list of KMSCryptoKeyVersions that match those selectors.
func (*FakeKMSCryptoKeyVersions) Patch ¶
func (c *FakeKMSCryptoKeyVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KMSCryptoKeyVersion, err error)
Patch applies the patch and returns the patched kMSCryptoKeyVersion.
func (*FakeKMSCryptoKeyVersions) Update ¶
func (c *FakeKMSCryptoKeyVersions) Update(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, opts v1.UpdateOptions) (result *v1alpha1.KMSCryptoKeyVersion, err error)
Update takes the representation of a kMSCryptoKeyVersion and updates it. Returns the server's representation of the kMSCryptoKeyVersion, and an error, if there is any.
func (*FakeKMSCryptoKeyVersions) UpdateStatus ¶
func (c *FakeKMSCryptoKeyVersions) UpdateStatus(ctx context.Context, kMSCryptoKeyVersion *v1alpha1.KMSCryptoKeyVersion, opts v1.UpdateOptions) (*v1alpha1.KMSCryptoKeyVersion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKMSCryptoKeyVersions) Watch ¶
func (c *FakeKMSCryptoKeyVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kMSCryptoKeyVersions.
type FakeKMSKeyRingImportJobs ¶
type FakeKMSKeyRingImportJobs struct { Fake *FakeKmsV1alpha1 // contains filtered or unexported fields }
FakeKMSKeyRingImportJobs implements KMSKeyRingImportJobInterface
func (*FakeKMSKeyRingImportJobs) Create ¶
func (c *FakeKMSKeyRingImportJobs) Create(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, opts v1.CreateOptions) (result *v1alpha1.KMSKeyRingImportJob, err error)
Create takes the representation of a kMSKeyRingImportJob and creates it. Returns the server's representation of the kMSKeyRingImportJob, and an error, if there is any.
func (*FakeKMSKeyRingImportJobs) Delete ¶
func (c *FakeKMSKeyRingImportJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kMSKeyRingImportJob and deletes it. Returns an error if one occurs.
func (*FakeKMSKeyRingImportJobs) DeleteCollection ¶
func (c *FakeKMSKeyRingImportJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKMSKeyRingImportJobs) Get ¶
func (c *FakeKMSKeyRingImportJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSKeyRingImportJob, err error)
Get takes name of the kMSKeyRingImportJob, and returns the corresponding kMSKeyRingImportJob object, and an error if there is any.
func (*FakeKMSKeyRingImportJobs) List ¶
func (c *FakeKMSKeyRingImportJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSKeyRingImportJobList, err error)
List takes label and field selectors, and returns the list of KMSKeyRingImportJobs that match those selectors.
func (*FakeKMSKeyRingImportJobs) Patch ¶
func (c *FakeKMSKeyRingImportJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KMSKeyRingImportJob, err error)
Patch applies the patch and returns the patched kMSKeyRingImportJob.
func (*FakeKMSKeyRingImportJobs) Update ¶
func (c *FakeKMSKeyRingImportJobs) Update(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, opts v1.UpdateOptions) (result *v1alpha1.KMSKeyRingImportJob, err error)
Update takes the representation of a kMSKeyRingImportJob and updates it. Returns the server's representation of the kMSKeyRingImportJob, and an error, if there is any.
func (*FakeKMSKeyRingImportJobs) UpdateStatus ¶
func (c *FakeKMSKeyRingImportJobs) UpdateStatus(ctx context.Context, kMSKeyRingImportJob *v1alpha1.KMSKeyRingImportJob, opts v1.UpdateOptions) (*v1alpha1.KMSKeyRingImportJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKMSKeyRingImportJobs) Watch ¶
func (c *FakeKMSKeyRingImportJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kMSKeyRingImportJobs.
type FakeKMSSecretCiphertexts ¶
type FakeKMSSecretCiphertexts struct { Fake *FakeKmsV1alpha1 // contains filtered or unexported fields }
FakeKMSSecretCiphertexts implements KMSSecretCiphertextInterface
func (*FakeKMSSecretCiphertexts) Create ¶
func (c *FakeKMSSecretCiphertexts) Create(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, opts v1.CreateOptions) (result *v1alpha1.KMSSecretCiphertext, err error)
Create takes the representation of a kMSSecretCiphertext and creates it. Returns the server's representation of the kMSSecretCiphertext, and an error, if there is any.
func (*FakeKMSSecretCiphertexts) Delete ¶
func (c *FakeKMSSecretCiphertexts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kMSSecretCiphertext and deletes it. Returns an error if one occurs.
func (*FakeKMSSecretCiphertexts) DeleteCollection ¶
func (c *FakeKMSSecretCiphertexts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKMSSecretCiphertexts) Get ¶
func (c *FakeKMSSecretCiphertexts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KMSSecretCiphertext, err error)
Get takes name of the kMSSecretCiphertext, and returns the corresponding kMSSecretCiphertext object, and an error if there is any.
func (*FakeKMSSecretCiphertexts) List ¶
func (c *FakeKMSSecretCiphertexts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KMSSecretCiphertextList, err error)
List takes label and field selectors, and returns the list of KMSSecretCiphertexts that match those selectors.
func (*FakeKMSSecretCiphertexts) Patch ¶
func (c *FakeKMSSecretCiphertexts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KMSSecretCiphertext, err error)
Patch applies the patch and returns the patched kMSSecretCiphertext.
func (*FakeKMSSecretCiphertexts) Update ¶
func (c *FakeKMSSecretCiphertexts) Update(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, opts v1.UpdateOptions) (result *v1alpha1.KMSSecretCiphertext, err error)
Update takes the representation of a kMSSecretCiphertext and updates it. Returns the server's representation of the kMSSecretCiphertext, and an error, if there is any.
func (*FakeKMSSecretCiphertexts) UpdateStatus ¶
func (c *FakeKMSSecretCiphertexts) UpdateStatus(ctx context.Context, kMSSecretCiphertext *v1alpha1.KMSSecretCiphertext, opts v1.UpdateOptions) (*v1alpha1.KMSSecretCiphertext, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKMSSecretCiphertexts) Watch ¶
func (c *FakeKMSSecretCiphertexts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kMSSecretCiphertexts.
type FakeKmsV1alpha1 ¶
func (*FakeKmsV1alpha1) KMSCryptoKeyVersions ¶
func (c *FakeKmsV1alpha1) KMSCryptoKeyVersions(namespace string) v1alpha1.KMSCryptoKeyVersionInterface
func (*FakeKmsV1alpha1) KMSKeyRingImportJobs ¶
func (c *FakeKmsV1alpha1) KMSKeyRingImportJobs(namespace string) v1alpha1.KMSKeyRingImportJobInterface
func (*FakeKmsV1alpha1) KMSSecretCiphertexts ¶
func (c *FakeKmsV1alpha1) KMSSecretCiphertexts(namespace string) v1alpha1.KMSSecretCiphertextInterface
func (*FakeKmsV1alpha1) RESTClient ¶
func (c *FakeKmsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.