fake

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 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 BitnamiV1alpha1 added in v0.9.7

type BitnamiV1alpha1 struct {
	*testing.Fake
}

BitnamiV1alpha1 is a fake BitnamiV1alpha1 impl.

func (*BitnamiV1alpha1) RESTClient added in v0.9.7

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

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

func (*BitnamiV1alpha1) SealedSecrets added in v0.9.7

func (c *BitnamiV1alpha1) SealedSecrets(namespace string) v1alpha1.SealedSecretInterface

SealedSecrets returns a SealedSecretInterface for a given namespace.

type SealedSecrets added in v0.9.7

type SealedSecrets struct {
	Fake *BitnamiV1alpha1
	// contains filtered or unexported fields
}

SealedSecrets implements a fake SealedSecretInterface

func (*SealedSecrets) Create added in v0.9.7

func (c *SealedSecrets) Create(sealedSecret *v1alpha1.SealedSecret) (result *v1alpha1.SealedSecret, err error)

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

func (*SealedSecrets) Delete added in v0.9.7

func (c *SealedSecrets) Delete(name string, options *v1.DeleteOptions) error

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

func (*SealedSecrets) DeleteCollection added in v0.9.7

func (c *SealedSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*SealedSecrets) Get added in v0.9.7

func (c *SealedSecrets) Get(name string, options v1.GetOptions) (result *v1alpha1.SealedSecret, err error)

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

func (*SealedSecrets) List added in v0.9.7

func (c *SealedSecrets) List(opts v1.ListOptions) (result *v1alpha1.SealedSecretList, err error)

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

func (*SealedSecrets) Patch added in v0.9.7

func (c *SealedSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SealedSecret, err error)

Patch applies the patch and returns the patched sealedSecret.

func (*SealedSecrets) Update added in v0.9.7

func (c *SealedSecrets) Update(sealedSecret *v1alpha1.SealedSecret) (result *v1alpha1.SealedSecret, err error)

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

func (*SealedSecrets) Watch added in v0.9.7

func (c *SealedSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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