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