fake

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 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 FakeQuarksSecrets

type FakeQuarksSecrets struct {
	Fake *FakeQuarkssecretV1alpha1
	// contains filtered or unexported fields
}

FakeQuarksSecrets implements QuarksSecretInterface

func (*FakeQuarksSecrets) Create

func (c *FakeQuarksSecrets) Create(quarksSecret *v1alpha1.QuarksSecret) (result *v1alpha1.QuarksSecret, err error)

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

func (*FakeQuarksSecrets) Delete

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

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

func (*FakeQuarksSecrets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeQuarksSecrets) Get

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

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

func (*FakeQuarksSecrets) List

func (c *FakeQuarksSecrets) List(opts v1.ListOptions) (result *v1alpha1.QuarksSecretList, err error)

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

func (*FakeQuarksSecrets) Patch

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

Patch applies the patch and returns the patched quarksSecret.

func (*FakeQuarksSecrets) Update

func (c *FakeQuarksSecrets) Update(quarksSecret *v1alpha1.QuarksSecret) (result *v1alpha1.QuarksSecret, err error)

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

func (*FakeQuarksSecrets) UpdateStatus

func (c *FakeQuarksSecrets) UpdateStatus(quarksSecret *v1alpha1.QuarksSecret) (*v1alpha1.QuarksSecret, error)

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

func (*FakeQuarksSecrets) Watch

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

type FakeQuarkssecretV1alpha1

type FakeQuarkssecretV1alpha1 struct {
	*testing.Fake
}

func (*FakeQuarkssecretV1alpha1) QuarksSecrets

func (c *FakeQuarkssecretV1alpha1) QuarksSecrets(namespace string) v1alpha1.QuarksSecretInterface

func (*FakeQuarkssecretV1alpha1) RESTClient

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