Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterNetworks
- func (c *FakeClusterNetworks) Create(clusterNetwork *api.ClusterNetwork) (result *api.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Delete(name string, options *pkg_api.DeleteOptions) error
- func (c *FakeClusterNetworks) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
- func (c *FakeClusterNetworks) Get(name string) (result *api.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) List(opts pkg_api.ListOptions) (result *api.ClusterNetworkList, err error)
- func (c *FakeClusterNetworks) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Update(clusterNetwork *api.ClusterNetwork) (result *api.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
- type FakeCore
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 ¶
func (c *FakeClusterNetworks) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterNetworks.
type FakeCore ¶
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.
Click to show internal directories.
Click to hide internal directories.