fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 FakeSecretManagerSecretVersions

type FakeSecretManagerSecretVersions struct {
	Fake *FakeSecretmanagerV1beta1
	// contains filtered or unexported fields
}

FakeSecretManagerSecretVersions implements SecretManagerSecretVersionInterface

func (*FakeSecretManagerSecretVersions) Create

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

func (*FakeSecretManagerSecretVersions) Delete

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

func (*FakeSecretManagerSecretVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSecretManagerSecretVersions) Get

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

func (*FakeSecretManagerSecretVersions) List

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

func (*FakeSecretManagerSecretVersions) Patch

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

Patch applies the patch and returns the patched secretManagerSecretVersion.

func (*FakeSecretManagerSecretVersions) Update

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

func (*FakeSecretManagerSecretVersions) UpdateStatus

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

func (*FakeSecretManagerSecretVersions) Watch

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

type FakeSecretManagerSecrets

type FakeSecretManagerSecrets struct {
	Fake *FakeSecretmanagerV1beta1
	// contains filtered or unexported fields
}

FakeSecretManagerSecrets implements SecretManagerSecretInterface

func (*FakeSecretManagerSecrets) Create

func (c *FakeSecretManagerSecrets) Create(ctx context.Context, secretManagerSecret *v1beta1.SecretManagerSecret, opts v1.CreateOptions) (result *v1beta1.SecretManagerSecret, err error)

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

func (*FakeSecretManagerSecrets) Delete

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

func (*FakeSecretManagerSecrets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSecretManagerSecrets) Get

func (c *FakeSecretManagerSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SecretManagerSecret, err error)

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

func (*FakeSecretManagerSecrets) List

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

func (*FakeSecretManagerSecrets) Patch

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

Patch applies the patch and returns the patched secretManagerSecret.

func (*FakeSecretManagerSecrets) Update

func (c *FakeSecretManagerSecrets) Update(ctx context.Context, secretManagerSecret *v1beta1.SecretManagerSecret, opts v1.UpdateOptions) (result *v1beta1.SecretManagerSecret, err error)

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

func (*FakeSecretManagerSecrets) UpdateStatus

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

func (*FakeSecretManagerSecrets) Watch

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

type FakeSecretmanagerV1beta1

type FakeSecretmanagerV1beta1 struct {
	*testing.Fake
}

func (*FakeSecretmanagerV1beta1) RESTClient

func (c *FakeSecretmanagerV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeSecretmanagerV1beta1) SecretManagerSecretVersions

func (c *FakeSecretmanagerV1beta1) SecretManagerSecretVersions(namespace string) v1beta1.SecretManagerSecretVersionInterface

func (*FakeSecretmanagerV1beta1) SecretManagerSecrets

func (c *FakeSecretmanagerV1beta1) SecretManagerSecrets(namespace string) v1beta1.SecretManagerSecretInterface

Jump to

Keyboard shortcuts

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