fake

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 FakeConfigurations

type FakeConfigurations struct {
	Fake *FakeSecretlessV1
	// contains filtered or unexported fields
}

FakeConfigurations implements ConfigurationInterface

func (*FakeConfigurations) Create

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

func (*FakeConfigurations) Delete

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

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

func (*FakeConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConfigurations) Get

func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *secretlessiov1.Configuration, err error)

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

func (*FakeConfigurations) List

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

func (*FakeConfigurations) Patch

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

Patch applies the patch and returns the patched configuration.

func (*FakeConfigurations) Update

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

func (*FakeConfigurations) Watch

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

type FakeSecretlessV1

type FakeSecretlessV1 struct {
	*testing.Fake
}

func (*FakeSecretlessV1) Configurations

func (c *FakeSecretlessV1) Configurations(namespace string) v1.ConfigurationInterface

func (*FakeSecretlessV1) RESTClient

func (c *FakeSecretlessV1) 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