fake

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 8 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 FakeClusterNetworks

type FakeClusterNetworks struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeClusterNetworks implements ClusterNetworkInterface

func (*FakeClusterNetworks) Create

func (c *FakeClusterNetworks) Create(clusterNetwork *api.ClusterNetwork) (result *api.ClusterNetwork, err error)

func (*FakeClusterNetworks) Delete

func (c *FakeClusterNetworks) Delete(name string, options *pkg_api.DeleteOptions) error

func (*FakeClusterNetworks) DeleteCollection

func (c *FakeClusterNetworks) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error

func (*FakeClusterNetworks) Get

func (c *FakeClusterNetworks) Get(name string) (result *api.ClusterNetwork, err error)

func (*FakeClusterNetworks) List

func (c *FakeClusterNetworks) List(opts pkg_api.ListOptions) (result *api.ClusterNetworkList, err error)

func (*FakeClusterNetworks) Patch added in v1.4.0

func (c *FakeClusterNetworks) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.ClusterNetwork, err error)

Patch applies the patch and returns the patched clusterNetwork.

func (*FakeClusterNetworks) Update

func (c *FakeClusterNetworks) Update(clusterNetwork *api.ClusterNetwork) (result *api.ClusterNetwork, err error)

func (*FakeClusterNetworks) Watch

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

type FakeCore

type FakeCore struct {
	*core.Fake
}

func (*FakeCore) ClusterNetworks

func (c *FakeCore) ClusterNetworks(namespace string) unversioned.ClusterNetworkInterface

func (*FakeCore) GetRESTClient

func (c *FakeCore) GetRESTClient() *restclient.RESTClient

GetRESTClient 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