Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterNetworks
- func (c *FakeClusterNetworks) Create(clusterNetwork *v1.ClusterNetwork) (result *v1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeClusterNetworks) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeClusterNetworks) Get(name string) (result *v1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) List(opts api.ListOptions) (result *v1.ClusterNetworkList, err error)
- func (c *FakeClusterNetworks) Update(clusterNetwork *v1.ClusterNetwork) (result *v1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Watch(opts 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 *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 ¶
func (c *FakeClusterNetworks) Watch(opts 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) 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.
Click to show internal directories.
Click to hide internal directories.