fake

package
v1.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

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

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

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

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

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

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

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

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

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

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

Watch returns a watch.Interface that watches the requested kMSSecretCiphertexts.

type FakeKmsV1alpha1

type FakeKmsV1alpha1 struct {
	*testing.Fake
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL