fake

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 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 FakeBackendConfigs

type FakeBackendConfigs struct {
	Fake *FakeCloudV1beta1
	// contains filtered or unexported fields
}

FakeBackendConfigs implements BackendConfigInterface

func (*FakeBackendConfigs) Create

func (c *FakeBackendConfigs) Create(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)

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

func (*FakeBackendConfigs) Delete

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

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

func (*FakeBackendConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBackendConfigs) Get

func (c *FakeBackendConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.BackendConfig, err error)

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

func (*FakeBackendConfigs) List

func (c *FakeBackendConfigs) List(opts v1.ListOptions) (result *v1beta1.BackendConfigList, err error)

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

func (*FakeBackendConfigs) Patch

func (c *FakeBackendConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BackendConfig, err error)

Patch applies the patch and returns the patched backendConfig.

func (*FakeBackendConfigs) Update

func (c *FakeBackendConfigs) Update(backendConfig *v1beta1.BackendConfig) (result *v1beta1.BackendConfig, err error)

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

func (*FakeBackendConfigs) Watch

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

type FakeCloudV1beta1

type FakeCloudV1beta1 struct {
	*testing.Fake
}

func (*FakeCloudV1beta1) BackendConfigs

func (c *FakeCloudV1beta1) BackendConfigs(namespace string) v1beta1.BackendConfigInterface

func (*FakeCloudV1beta1) RESTClient

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