fake

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 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 *v1.ClusterNetwork) (result *v1.ClusterNetwork, err error)

func (*FakeClusterNetworks) Delete

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

func (*FakeClusterNetworks) DeleteCollection

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

func (*FakeClusterNetworks) Get

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

func (*FakeClusterNetworks) List

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

func (*FakeClusterNetworks) Update

func (c *FakeClusterNetworks) Update(clusterNetwork *v1.ClusterNetwork) (result *v1.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) v1.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