Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterNetworks
- func (c *FakeClusterNetworks) Create(clusterNetwork *network.ClusterNetwork) (result *network.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterNetworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterNetworks) Get(name string, options v1.GetOptions) (result *network.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) List(opts v1.ListOptions) (result *network.ClusterNetworkList, err error)
- func (c *FakeClusterNetworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *network.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Update(clusterNetwork *network.ClusterNetwork) (result *network.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterNetworks ¶
type FakeClusterNetworks struct { Fake *FakeNetwork // contains filtered or unexported fields }
FakeClusterNetworks implements ClusterNetworkInterface
func (*FakeClusterNetworks) Create ¶
func (c *FakeClusterNetworks) Create(clusterNetwork *network.ClusterNetwork) (result *network.ClusterNetwork, err error)
func (*FakeClusterNetworks) Delete ¶
func (c *FakeClusterNetworks) Delete(name string, options *v1.DeleteOptions) error
func (*FakeClusterNetworks) DeleteCollection ¶
func (c *FakeClusterNetworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeClusterNetworks) Get ¶
func (c *FakeClusterNetworks) Get(name string, options v1.GetOptions) (result *network.ClusterNetwork, err error)
func (*FakeClusterNetworks) List ¶
func (c *FakeClusterNetworks) List(opts v1.ListOptions) (result *network.ClusterNetworkList, err error)
func (*FakeClusterNetworks) Patch ¶
func (c *FakeClusterNetworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *network.ClusterNetwork, err error)
Patch applies the patch and returns the patched clusterNetwork.
func (*FakeClusterNetworks) Update ¶
func (c *FakeClusterNetworks) Update(clusterNetwork *network.ClusterNetwork) (result *network.ClusterNetwork, err error)
func (*FakeClusterNetworks) Watch ¶
func (c *FakeClusterNetworks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterNetworks.
type FakeNetwork ¶
func (*FakeNetwork) ClusterNetworks ¶
func (c *FakeNetwork) ClusterNetworks(namespace string) internalversion.ClusterNetworkInterface
func (*FakeNetwork) RESTClient ¶
func (c *FakeNetwork) RESTClient() rest.Interface
RESTClient 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.