Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterResourceQuotas
- func (c *FakeClusterResourceQuotas) Create(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)
- func (c *FakeClusterResourceQuotas) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeClusterResourceQuotas) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeClusterResourceQuotas) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterResourceQuota, err error)
- func (c *FakeClusterResourceQuotas) List(opts meta_v1.ListOptions) (result *v1.ClusterResourceQuotaList, err error)
- func (c *FakeClusterResourceQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterResourceQuota, err error)
- func (c *FakeClusterResourceQuotas) Update(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)
- func (c *FakeClusterResourceQuotas) UpdateStatus(clusterResourceQuota *v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)
- func (c *FakeClusterResourceQuotas) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeQuotaV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterResourceQuotas ¶
type FakeClusterResourceQuotas struct {
Fake *FakeQuotaV1
}
FakeClusterResourceQuotas implements ClusterResourceQuotaInterface
func (*FakeClusterResourceQuotas) Create ¶
func (c *FakeClusterResourceQuotas) Create(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)
func (*FakeClusterResourceQuotas) Delete ¶
func (c *FakeClusterResourceQuotas) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeClusterResourceQuotas) DeleteCollection ¶
func (c *FakeClusterResourceQuotas) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeClusterResourceQuotas) Get ¶
func (c *FakeClusterResourceQuotas) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterResourceQuota, err error)
func (*FakeClusterResourceQuotas) List ¶
func (c *FakeClusterResourceQuotas) List(opts meta_v1.ListOptions) (result *v1.ClusterResourceQuotaList, err error)
func (*FakeClusterResourceQuotas) Patch ¶
func (c *FakeClusterResourceQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterResourceQuota, err error)
Patch applies the patch and returns the patched clusterResourceQuota.
func (*FakeClusterResourceQuotas) Update ¶
func (c *FakeClusterResourceQuotas) Update(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)
func (*FakeClusterResourceQuotas) UpdateStatus ¶
func (c *FakeClusterResourceQuotas) UpdateStatus(clusterResourceQuota *v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)
func (*FakeClusterResourceQuotas) Watch ¶
func (c *FakeClusterResourceQuotas) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterResourceQuotas.
type FakeQuotaV1 ¶
func (*FakeQuotaV1) ClusterResourceQuotas ¶
func (c *FakeQuotaV1) ClusterResourceQuotas() v1.ClusterResourceQuotaInterface
func (*FakeQuotaV1) RESTClient ¶
func (c *FakeQuotaV1) 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.