fake

package
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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 FakeExampleV1alpha1

type FakeExampleV1alpha1 struct {
	*testing.Fake
}

func (*FakeExampleV1alpha1) MemcachedConfigs

func (c *FakeExampleV1alpha1) MemcachedConfigs(namespace string) v1alpha1.MemcachedConfigInterface

func (*FakeExampleV1alpha1) RESTClient

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

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

type FakeMemcachedConfigs

type FakeMemcachedConfigs struct {
	Fake *FakeExampleV1alpha1
	// contains filtered or unexported fields
}

FakeMemcachedConfigs implements MemcachedConfigInterface

func (*FakeMemcachedConfigs) Create

func (c *FakeMemcachedConfigs) Create(memcachedConfig *v1alpha1.MemcachedConfig) (result *v1alpha1.MemcachedConfig, err error)

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

func (*FakeMemcachedConfigs) Delete

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

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

func (*FakeMemcachedConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMemcachedConfigs) Get

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

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

func (*FakeMemcachedConfigs) List

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

func (*FakeMemcachedConfigs) Patch

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

Patch applies the patch and returns the patched memcachedConfig.

func (*FakeMemcachedConfigs) Update

func (c *FakeMemcachedConfigs) Update(memcachedConfig *v1alpha1.MemcachedConfig) (result *v1alpha1.MemcachedConfig, err error)

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

func (*FakeMemcachedConfigs) Watch

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

Jump to

Keyboard shortcuts

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