Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeK8sV1
- type FakeWorkerPodAutoScalers
- func (c *FakeWorkerPodAutoScalers) Create(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (result *wpav1.WorkerPodAutoScaler, err error)
- func (c *FakeWorkerPodAutoScalers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkerPodAutoScalers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkerPodAutoScalers) Get(name string, options v1.GetOptions) (result *wpav1.WorkerPodAutoScaler, err error)
- func (c *FakeWorkerPodAutoScalers) List(opts v1.ListOptions) (result *wpav1.WorkerPodAutoScalerList, err error)
- func (c *FakeWorkerPodAutoScalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *wpav1.WorkerPodAutoScaler, err error)
- func (c *FakeWorkerPodAutoScalers) Update(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (result *wpav1.WorkerPodAutoScaler, err error)
- func (c *FakeWorkerPodAutoScalers) UpdateStatus(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (*wpav1.WorkerPodAutoScaler, error)
- func (c *FakeWorkerPodAutoScalers) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeK8sV1 ¶
func (*FakeK8sV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeK8sV1) WorkerPodAutoScalers ¶
func (c *FakeK8sV1) WorkerPodAutoScalers(namespace string) v1.WorkerPodAutoScalerInterface
type FakeWorkerPodAutoScalers ¶
type FakeWorkerPodAutoScalers struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeWorkerPodAutoScalers implements WorkerPodAutoScalerInterface
func (*FakeWorkerPodAutoScalers) Create ¶
func (c *FakeWorkerPodAutoScalers) Create(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (result *wpav1.WorkerPodAutoScaler, err error)
Create takes the representation of a workerPodAutoScaler and creates it. Returns the server's representation of the workerPodAutoScaler, and an error, if there is any.
func (*FakeWorkerPodAutoScalers) Delete ¶
func (c *FakeWorkerPodAutoScalers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the workerPodAutoScaler and deletes it. Returns an error if one occurs.
func (*FakeWorkerPodAutoScalers) DeleteCollection ¶
func (c *FakeWorkerPodAutoScalers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkerPodAutoScalers) Get ¶
func (c *FakeWorkerPodAutoScalers) Get(name string, options v1.GetOptions) (result *wpav1.WorkerPodAutoScaler, err error)
Get takes name of the workerPodAutoScaler, and returns the corresponding workerPodAutoScaler object, and an error if there is any.
func (*FakeWorkerPodAutoScalers) List ¶
func (c *FakeWorkerPodAutoScalers) List(opts v1.ListOptions) (result *wpav1.WorkerPodAutoScalerList, err error)
List takes label and field selectors, and returns the list of WorkerPodAutoScalers that match those selectors.
func (*FakeWorkerPodAutoScalers) Patch ¶
func (c *FakeWorkerPodAutoScalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *wpav1.WorkerPodAutoScaler, err error)
Patch applies the patch and returns the patched workerPodAutoScaler.
func (*FakeWorkerPodAutoScalers) Update ¶
func (c *FakeWorkerPodAutoScalers) Update(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (result *wpav1.WorkerPodAutoScaler, err error)
Update takes the representation of a workerPodAutoScaler and updates it. Returns the server's representation of the workerPodAutoScaler, and an error, if there is any.
func (*FakeWorkerPodAutoScalers) UpdateStatus ¶
func (c *FakeWorkerPodAutoScalers) UpdateStatus(workerPodAutoScaler *wpav1.WorkerPodAutoScaler) (*wpav1.WorkerPodAutoScaler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkerPodAutoScalers) Watch ¶
func (c *FakeWorkerPodAutoScalers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workerPodAutoScalers.