Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAutoscaling
- type FakeHorizontalPodAutoscalers
- func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api_v1.DeleteOptions) error
- func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
- func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *v1.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) List(opts api_v1.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error)
- func (c *FakeHorizontalPodAutoscalers) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error)
- func (c *FakeHorizontalPodAutoscalers) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAutoscaling ¶
func (*FakeAutoscaling) GetRESTClient ¶
func (c *FakeAutoscaling) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAutoscaling) HorizontalPodAutoscalers ¶
func (c *FakeAutoscaling) HorizontalPodAutoscalers(namespace string) v1.HorizontalPodAutoscalerInterface
type FakeHorizontalPodAutoscalers ¶
type FakeHorizontalPodAutoscalers struct { Fake *FakeAutoscaling // contains filtered or unexported fields }
FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface
func (*FakeHorizontalPodAutoscalers) Create ¶
func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) Delete ¶
func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api_v1.DeleteOptions) error
func (*FakeHorizontalPodAutoscalers) DeleteCollection ¶
func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
func (*FakeHorizontalPodAutoscalers) Get ¶
func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *v1.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) List ¶
func (c *FakeHorizontalPodAutoscalers) List(opts api_v1.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error)
func (*FakeHorizontalPodAutoscalers) Patch ¶
func (c *FakeHorizontalPodAutoscalers) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.HorizontalPodAutoscaler, err error)
Patch applies the patch and returns the patched horizontalPodAutoscaler.
func (*FakeHorizontalPodAutoscalers) Update ¶
func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) UpdateStatus ¶
func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error)
func (*FakeHorizontalPodAutoscalers) Watch ¶
func (c *FakeHorizontalPodAutoscalers) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested horizontalPodAutoscalers.
Click to show internal directories.
Click to hide internal directories.