fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeCryptoKeyIamBindings

type FakeCryptoKeyIamBindings struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeCryptoKeyIamBindings implements CryptoKeyIamBindingInterface

func (*FakeCryptoKeyIamBindings) Create

func (c *FakeCryptoKeyIamBindings) Create(ctx context.Context, cryptoKeyIamBinding *v1alpha1.CryptoKeyIamBinding, opts v1.CreateOptions) (result *v1alpha1.CryptoKeyIamBinding, err error)

Create takes the representation of a cryptoKeyIamBinding and creates it. Returns the server's representation of the cryptoKeyIamBinding, and an error, if there is any.

func (*FakeCryptoKeyIamBindings) Delete

Delete takes name of the cryptoKeyIamBinding and deletes it. Returns an error if one occurs.

func (*FakeCryptoKeyIamBindings) DeleteCollection

func (c *FakeCryptoKeyIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCryptoKeyIamBindings) Get

func (c *FakeCryptoKeyIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CryptoKeyIamBinding, err error)

Get takes name of the cryptoKeyIamBinding, and returns the corresponding cryptoKeyIamBinding object, and an error if there is any.

func (*FakeCryptoKeyIamBindings) List

List takes label and field selectors, and returns the list of CryptoKeyIamBindings that match those selectors.

func (*FakeCryptoKeyIamBindings) Patch

func (c *FakeCryptoKeyIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CryptoKeyIamBinding, err error)

Patch applies the patch and returns the patched cryptoKeyIamBinding.

func (*FakeCryptoKeyIamBindings) Update

func (c *FakeCryptoKeyIamBindings) Update(ctx context.Context, cryptoKeyIamBinding *v1alpha1.CryptoKeyIamBinding, opts v1.UpdateOptions) (result *v1alpha1.CryptoKeyIamBinding, err error)

Update takes the representation of a cryptoKeyIamBinding and updates it. Returns the server's representation of the cryptoKeyIamBinding, and an error, if there is any.

func (*FakeCryptoKeyIamBindings) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCryptoKeyIamBindings) Watch

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

type FakeCryptoKeyIamMembers

type FakeCryptoKeyIamMembers struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeCryptoKeyIamMembers implements CryptoKeyIamMemberInterface

func (*FakeCryptoKeyIamMembers) Create

func (c *FakeCryptoKeyIamMembers) Create(ctx context.Context, cryptoKeyIamMember *v1alpha1.CryptoKeyIamMember, opts v1.CreateOptions) (result *v1alpha1.CryptoKeyIamMember, err error)

Create takes the representation of a cryptoKeyIamMember and creates it. Returns the server's representation of the cryptoKeyIamMember, and an error, if there is any.

func (*FakeCryptoKeyIamMembers) Delete

func (c *FakeCryptoKeyIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the cryptoKeyIamMember and deletes it. Returns an error if one occurs.

func (*FakeCryptoKeyIamMembers) DeleteCollection

func (c *FakeCryptoKeyIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCryptoKeyIamMembers) Get

func (c *FakeCryptoKeyIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CryptoKeyIamMember, err error)

Get takes name of the cryptoKeyIamMember, and returns the corresponding cryptoKeyIamMember object, and an error if there is any.

func (*FakeCryptoKeyIamMembers) List

List takes label and field selectors, and returns the list of CryptoKeyIamMembers that match those selectors.

func (*FakeCryptoKeyIamMembers) Patch

func (c *FakeCryptoKeyIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CryptoKeyIamMember, err error)

Patch applies the patch and returns the patched cryptoKeyIamMember.

func (*FakeCryptoKeyIamMembers) Update

func (c *FakeCryptoKeyIamMembers) Update(ctx context.Context, cryptoKeyIamMember *v1alpha1.CryptoKeyIamMember, opts v1.UpdateOptions) (result *v1alpha1.CryptoKeyIamMember, err error)

Update takes the representation of a cryptoKeyIamMember and updates it. Returns the server's representation of the cryptoKeyIamMember, and an error, if there is any.

func (*FakeCryptoKeyIamMembers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCryptoKeyIamMembers) Watch

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

type FakeCryptoKeyIamPolicies

type FakeCryptoKeyIamPolicies struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeCryptoKeyIamPolicies implements CryptoKeyIamPolicyInterface

func (*FakeCryptoKeyIamPolicies) Create

func (c *FakeCryptoKeyIamPolicies) Create(ctx context.Context, cryptoKeyIamPolicy *v1alpha1.CryptoKeyIamPolicy, opts v1.CreateOptions) (result *v1alpha1.CryptoKeyIamPolicy, err error)

Create takes the representation of a cryptoKeyIamPolicy and creates it. Returns the server's representation of the cryptoKeyIamPolicy, and an error, if there is any.

func (*FakeCryptoKeyIamPolicies) Delete

Delete takes name of the cryptoKeyIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeCryptoKeyIamPolicies) DeleteCollection

func (c *FakeCryptoKeyIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCryptoKeyIamPolicies) Get

func (c *FakeCryptoKeyIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CryptoKeyIamPolicy, err error)

Get takes name of the cryptoKeyIamPolicy, and returns the corresponding cryptoKeyIamPolicy object, and an error if there is any.

func (*FakeCryptoKeyIamPolicies) List

List takes label and field selectors, and returns the list of CryptoKeyIamPolicies that match those selectors.

func (*FakeCryptoKeyIamPolicies) Patch

func (c *FakeCryptoKeyIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CryptoKeyIamPolicy, err error)

Patch applies the patch and returns the patched cryptoKeyIamPolicy.

func (*FakeCryptoKeyIamPolicies) Update

func (c *FakeCryptoKeyIamPolicies) Update(ctx context.Context, cryptoKeyIamPolicy *v1alpha1.CryptoKeyIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.CryptoKeyIamPolicy, err error)

Update takes the representation of a cryptoKeyIamPolicy and updates it. Returns the server's representation of the cryptoKeyIamPolicy, and an error, if there is any.

func (*FakeCryptoKeyIamPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCryptoKeyIamPolicies) Watch

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

type FakeCryptoKeys

type FakeCryptoKeys struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeCryptoKeys implements CryptoKeyInterface

func (*FakeCryptoKeys) Create

func (c *FakeCryptoKeys) Create(ctx context.Context, cryptoKey *v1alpha1.CryptoKey, opts v1.CreateOptions) (result *v1alpha1.CryptoKey, err error)

Create takes the representation of a cryptoKey and creates it. Returns the server's representation of the cryptoKey, and an error, if there is any.

func (*FakeCryptoKeys) Delete

func (c *FakeCryptoKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the cryptoKey and deletes it. Returns an error if one occurs.

func (*FakeCryptoKeys) DeleteCollection

func (c *FakeCryptoKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCryptoKeys) Get

func (c *FakeCryptoKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CryptoKey, err error)

Get takes name of the cryptoKey, and returns the corresponding cryptoKey object, and an error if there is any.

func (*FakeCryptoKeys) List

func (c *FakeCryptoKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CryptoKeyList, err error)

List takes label and field selectors, and returns the list of CryptoKeys that match those selectors.

func (*FakeCryptoKeys) Patch

func (c *FakeCryptoKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CryptoKey, err error)

Patch applies the patch and returns the patched cryptoKey.

func (*FakeCryptoKeys) Update

func (c *FakeCryptoKeys) Update(ctx context.Context, cryptoKey *v1alpha1.CryptoKey, opts v1.UpdateOptions) (result *v1alpha1.CryptoKey, err error)

Update takes the representation of a cryptoKey and updates it. Returns the server's representation of the cryptoKey, and an error, if there is any.

func (*FakeCryptoKeys) UpdateStatus

func (c *FakeCryptoKeys) UpdateStatus(ctx context.Context, cryptoKey *v1alpha1.CryptoKey, opts v1.UpdateOptions) (*v1alpha1.CryptoKey, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCryptoKeys) Watch

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

type FakeKeyRingIamBindings

type FakeKeyRingIamBindings struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyRingIamBindings implements KeyRingIamBindingInterface

func (*FakeKeyRingIamBindings) Create

func (c *FakeKeyRingIamBindings) Create(ctx context.Context, keyRingIamBinding *v1alpha1.KeyRingIamBinding, opts v1.CreateOptions) (result *v1alpha1.KeyRingIamBinding, err error)

Create takes the representation of a keyRingIamBinding and creates it. Returns the server's representation of the keyRingIamBinding, and an error, if there is any.

func (*FakeKeyRingIamBindings) Delete

func (c *FakeKeyRingIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyRingIamBinding and deletes it. Returns an error if one occurs.

func (*FakeKeyRingIamBindings) DeleteCollection

func (c *FakeKeyRingIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyRingIamBindings) Get

func (c *FakeKeyRingIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyRingIamBinding, err error)

Get takes name of the keyRingIamBinding, and returns the corresponding keyRingIamBinding object, and an error if there is any.

func (*FakeKeyRingIamBindings) List

List takes label and field selectors, and returns the list of KeyRingIamBindings that match those selectors.

func (*FakeKeyRingIamBindings) Patch

func (c *FakeKeyRingIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyRingIamBinding, err error)

Patch applies the patch and returns the patched keyRingIamBinding.

func (*FakeKeyRingIamBindings) Update

func (c *FakeKeyRingIamBindings) Update(ctx context.Context, keyRingIamBinding *v1alpha1.KeyRingIamBinding, opts v1.UpdateOptions) (result *v1alpha1.KeyRingIamBinding, err error)

Update takes the representation of a keyRingIamBinding and updates it. Returns the server's representation of the keyRingIamBinding, and an error, if there is any.

func (*FakeKeyRingIamBindings) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyRingIamBindings) Watch

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

type FakeKeyRingIamMembers

type FakeKeyRingIamMembers struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyRingIamMembers implements KeyRingIamMemberInterface

func (*FakeKeyRingIamMembers) Create

func (c *FakeKeyRingIamMembers) Create(ctx context.Context, keyRingIamMember *v1alpha1.KeyRingIamMember, opts v1.CreateOptions) (result *v1alpha1.KeyRingIamMember, err error)

Create takes the representation of a keyRingIamMember and creates it. Returns the server's representation of the keyRingIamMember, and an error, if there is any.

func (*FakeKeyRingIamMembers) Delete

func (c *FakeKeyRingIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyRingIamMember and deletes it. Returns an error if one occurs.

func (*FakeKeyRingIamMembers) DeleteCollection

func (c *FakeKeyRingIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyRingIamMembers) Get

func (c *FakeKeyRingIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyRingIamMember, err error)

Get takes name of the keyRingIamMember, and returns the corresponding keyRingIamMember object, and an error if there is any.

func (*FakeKeyRingIamMembers) List

List takes label and field selectors, and returns the list of KeyRingIamMembers that match those selectors.

func (*FakeKeyRingIamMembers) Patch

func (c *FakeKeyRingIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyRingIamMember, err error)

Patch applies the patch and returns the patched keyRingIamMember.

func (*FakeKeyRingIamMembers) Update

func (c *FakeKeyRingIamMembers) Update(ctx context.Context, keyRingIamMember *v1alpha1.KeyRingIamMember, opts v1.UpdateOptions) (result *v1alpha1.KeyRingIamMember, err error)

Update takes the representation of a keyRingIamMember and updates it. Returns the server's representation of the keyRingIamMember, and an error, if there is any.

func (*FakeKeyRingIamMembers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyRingIamMembers) Watch

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

type FakeKeyRingIamPolicies

type FakeKeyRingIamPolicies struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyRingIamPolicies implements KeyRingIamPolicyInterface

func (*FakeKeyRingIamPolicies) Create

func (c *FakeKeyRingIamPolicies) Create(ctx context.Context, keyRingIamPolicy *v1alpha1.KeyRingIamPolicy, opts v1.CreateOptions) (result *v1alpha1.KeyRingIamPolicy, err error)

Create takes the representation of a keyRingIamPolicy and creates it. Returns the server's representation of the keyRingIamPolicy, and an error, if there is any.

func (*FakeKeyRingIamPolicies) Delete

func (c *FakeKeyRingIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyRingIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeKeyRingIamPolicies) DeleteCollection

func (c *FakeKeyRingIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyRingIamPolicies) Get

func (c *FakeKeyRingIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyRingIamPolicy, err error)

Get takes name of the keyRingIamPolicy, and returns the corresponding keyRingIamPolicy object, and an error if there is any.

func (*FakeKeyRingIamPolicies) List

List takes label and field selectors, and returns the list of KeyRingIamPolicies that match those selectors.

func (*FakeKeyRingIamPolicies) Patch

func (c *FakeKeyRingIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyRingIamPolicy, err error)

Patch applies the patch and returns the patched keyRingIamPolicy.

func (*FakeKeyRingIamPolicies) Update

func (c *FakeKeyRingIamPolicies) Update(ctx context.Context, keyRingIamPolicy *v1alpha1.KeyRingIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.KeyRingIamPolicy, err error)

Update takes the representation of a keyRingIamPolicy and updates it. Returns the server's representation of the keyRingIamPolicy, and an error, if there is any.

func (*FakeKeyRingIamPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyRingIamPolicies) Watch

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

type FakeKeyRingImportJobs

type FakeKeyRingImportJobs struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyRingImportJobs implements KeyRingImportJobInterface

func (*FakeKeyRingImportJobs) Create

func (c *FakeKeyRingImportJobs) Create(ctx context.Context, keyRingImportJob *v1alpha1.KeyRingImportJob, opts v1.CreateOptions) (result *v1alpha1.KeyRingImportJob, err error)

Create takes the representation of a keyRingImportJob and creates it. Returns the server's representation of the keyRingImportJob, and an error, if there is any.

func (*FakeKeyRingImportJobs) Delete

func (c *FakeKeyRingImportJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyRingImportJob and deletes it. Returns an error if one occurs.

func (*FakeKeyRingImportJobs) DeleteCollection

func (c *FakeKeyRingImportJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyRingImportJobs) Get

func (c *FakeKeyRingImportJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyRingImportJob, err error)

Get takes name of the keyRingImportJob, and returns the corresponding keyRingImportJob object, and an error if there is any.

func (*FakeKeyRingImportJobs) List

List takes label and field selectors, and returns the list of KeyRingImportJobs that match those selectors.

func (*FakeKeyRingImportJobs) Patch

func (c *FakeKeyRingImportJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyRingImportJob, err error)

Patch applies the patch and returns the patched keyRingImportJob.

func (*FakeKeyRingImportJobs) Update

func (c *FakeKeyRingImportJobs) Update(ctx context.Context, keyRingImportJob *v1alpha1.KeyRingImportJob, opts v1.UpdateOptions) (result *v1alpha1.KeyRingImportJob, err error)

Update takes the representation of a keyRingImportJob and updates it. Returns the server's representation of the keyRingImportJob, and an error, if there is any.

func (*FakeKeyRingImportJobs) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyRingImportJobs) Watch

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

type FakeKeyRings

type FakeKeyRings struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyRings implements KeyRingInterface

func (*FakeKeyRings) Create

func (c *FakeKeyRings) Create(ctx context.Context, keyRing *v1alpha1.KeyRing, opts v1.CreateOptions) (result *v1alpha1.KeyRing, err error)

Create takes the representation of a keyRing and creates it. Returns the server's representation of the keyRing, and an error, if there is any.

func (*FakeKeyRings) Delete

func (c *FakeKeyRings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyRing and deletes it. Returns an error if one occurs.

func (*FakeKeyRings) DeleteCollection

func (c *FakeKeyRings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyRings) Get

func (c *FakeKeyRings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyRing, err error)

Get takes name of the keyRing, and returns the corresponding keyRing object, and an error if there is any.

func (*FakeKeyRings) List

func (c *FakeKeyRings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeyRingList, err error)

List takes label and field selectors, and returns the list of KeyRings that match those selectors.

func (*FakeKeyRings) Patch

func (c *FakeKeyRings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyRing, err error)

Patch applies the patch and returns the patched keyRing.

func (*FakeKeyRings) Update

func (c *FakeKeyRings) Update(ctx context.Context, keyRing *v1alpha1.KeyRing, opts v1.UpdateOptions) (result *v1alpha1.KeyRing, err error)

Update takes the representation of a keyRing and updates it. Returns the server's representation of the keyRing, and an error, if there is any.

func (*FakeKeyRings) UpdateStatus

func (c *FakeKeyRings) UpdateStatus(ctx context.Context, keyRing *v1alpha1.KeyRing, opts v1.UpdateOptions) (*v1alpha1.KeyRing, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyRings) Watch

func (c *FakeKeyRings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeKmsV1alpha1

type FakeKmsV1alpha1 struct {
	*testing.Fake
}

func (*FakeKmsV1alpha1) CryptoKeyIamBindings

func (c *FakeKmsV1alpha1) CryptoKeyIamBindings(namespace string) v1alpha1.CryptoKeyIamBindingInterface

func (*FakeKmsV1alpha1) CryptoKeyIamMembers

func (c *FakeKmsV1alpha1) CryptoKeyIamMembers(namespace string) v1alpha1.CryptoKeyIamMemberInterface

func (*FakeKmsV1alpha1) CryptoKeyIamPolicies

func (c *FakeKmsV1alpha1) CryptoKeyIamPolicies(namespace string) v1alpha1.CryptoKeyIamPolicyInterface

func (*FakeKmsV1alpha1) CryptoKeys

func (c *FakeKmsV1alpha1) CryptoKeys(namespace string) v1alpha1.CryptoKeyInterface

func (*FakeKmsV1alpha1) KeyRingIamBindings

func (c *FakeKmsV1alpha1) KeyRingIamBindings(namespace string) v1alpha1.KeyRingIamBindingInterface

func (*FakeKmsV1alpha1) KeyRingIamMembers

func (c *FakeKmsV1alpha1) KeyRingIamMembers(namespace string) v1alpha1.KeyRingIamMemberInterface

func (*FakeKmsV1alpha1) KeyRingIamPolicies

func (c *FakeKmsV1alpha1) KeyRingIamPolicies(namespace string) v1alpha1.KeyRingIamPolicyInterface

func (*FakeKmsV1alpha1) KeyRingImportJobs

func (c *FakeKmsV1alpha1) KeyRingImportJobs(namespace string) v1alpha1.KeyRingImportJobInterface

func (*FakeKmsV1alpha1) KeyRings

func (c *FakeKmsV1alpha1) KeyRings(namespace string) v1alpha1.KeyRingInterface

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.

func (*FakeKmsV1alpha1) SecretCiphertexts

func (c *FakeKmsV1alpha1) SecretCiphertexts(namespace string) v1alpha1.SecretCiphertextInterface

type FakeSecretCiphertexts

type FakeSecretCiphertexts struct {
	Fake *FakeKmsV1alpha1
	// contains filtered or unexported fields
}

FakeSecretCiphertexts implements SecretCiphertextInterface

func (*FakeSecretCiphertexts) Create

func (c *FakeSecretCiphertexts) Create(ctx context.Context, secretCiphertext *v1alpha1.SecretCiphertext, opts v1.CreateOptions) (result *v1alpha1.SecretCiphertext, err error)

Create takes the representation of a secretCiphertext and creates it. Returns the server's representation of the secretCiphertext, and an error, if there is any.

func (*FakeSecretCiphertexts) Delete

func (c *FakeSecretCiphertexts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the secretCiphertext and deletes it. Returns an error if one occurs.

func (*FakeSecretCiphertexts) DeleteCollection

func (c *FakeSecretCiphertexts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSecretCiphertexts) Get

func (c *FakeSecretCiphertexts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SecretCiphertext, err error)

Get takes name of the secretCiphertext, and returns the corresponding secretCiphertext object, and an error if there is any.

func (*FakeSecretCiphertexts) List

List takes label and field selectors, and returns the list of SecretCiphertexts that match those selectors.

func (*FakeSecretCiphertexts) Patch

func (c *FakeSecretCiphertexts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SecretCiphertext, err error)

Patch applies the patch and returns the patched secretCiphertext.

func (*FakeSecretCiphertexts) Update

func (c *FakeSecretCiphertexts) Update(ctx context.Context, secretCiphertext *v1alpha1.SecretCiphertext, opts v1.UpdateOptions) (result *v1alpha1.SecretCiphertext, err error)

Update takes the representation of a secretCiphertext and updates it. Returns the server's representation of the secretCiphertext, and an error, if there is any.

func (*FakeSecretCiphertexts) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSecretCiphertexts) Watch

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

Jump to

Keyboard shortcuts

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