Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1beta1.Cluster) (result *v1beta1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeClusters) Get(name string) (result *v1beta1.Cluster, err error)
- func (c *FakeClusters) List(opts api.ListOptions) (result *v1beta1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt api.PatchType, data []byte) (result *v1beta1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1beta1.Cluster) (result *v1beta1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *v1beta1.Cluster) (*v1beta1.Cluster, error)
- func (c *FakeClusters) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeFederation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusters ¶
type FakeClusters struct {
Fake *FakeFederation
}
FakeClusters implements ClusterInterface
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *api.DeleteOptions) error
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string) (result *v1beta1.Cluster, err error)
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts api.ListOptions) (result *v1beta1.ClusterList, err error)
func (*FakeClusters) Patch ¶ added in v1.4.0
func (c *FakeClusters) Patch(name string, pt api.PatchType, data []byte) (result *v1beta1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) UpdateStatus ¶
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeFederation ¶
func (*FakeFederation) Clusters ¶
func (c *FakeFederation) Clusters() v1beta1.ClusterInterface
func (*FakeFederation) GetRESTClient ¶
func (c *FakeFederation) 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.