Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAutoscalingV1alpha1
- type FakeGeneralPodAutoscalers
- func (c *FakeGeneralPodAutoscalers) Create(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (result *v1alpha1.GeneralPodAutoscaler, err error)
- func (c *FakeGeneralPodAutoscalers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGeneralPodAutoscalers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGeneralPodAutoscalers) Get(name string, options v1.GetOptions) (result *v1alpha1.GeneralPodAutoscaler, err error)
- func (c *FakeGeneralPodAutoscalers) List(opts v1.ListOptions) (result *v1alpha1.GeneralPodAutoscalerList, err error)
- func (c *FakeGeneralPodAutoscalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GeneralPodAutoscaler, err error)
- func (c *FakeGeneralPodAutoscalers) Update(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (result *v1alpha1.GeneralPodAutoscaler, err error)
- func (c *FakeGeneralPodAutoscalers) UpdateStatus(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (*v1alpha1.GeneralPodAutoscaler, error)
- func (c *FakeGeneralPodAutoscalers) 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) GeneralPodAutoscalers ¶
func (c *FakeAutoscalingV1alpha1) GeneralPodAutoscalers(namespace string) v1alpha1.GeneralPodAutoscalerInterface
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 FakeGeneralPodAutoscalers ¶
type FakeGeneralPodAutoscalers struct { Fake *FakeAutoscalingV1alpha1 // contains filtered or unexported fields }
FakeGeneralPodAutoscalers implements GeneralPodAutoscalerInterface
func (*FakeGeneralPodAutoscalers) Create ¶
func (c *FakeGeneralPodAutoscalers) Create(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (result *v1alpha1.GeneralPodAutoscaler, err error)
Create takes the representation of a generalPodAutoscaler and creates it. Returns the server's representation of the generalPodAutoscaler, and an error, if there is any.
func (*FakeGeneralPodAutoscalers) Delete ¶
func (c *FakeGeneralPodAutoscalers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the generalPodAutoscaler and deletes it. Returns an error if one occurs.
func (*FakeGeneralPodAutoscalers) DeleteCollection ¶
func (c *FakeGeneralPodAutoscalers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGeneralPodAutoscalers) Get ¶
func (c *FakeGeneralPodAutoscalers) Get(name string, options v1.GetOptions) (result *v1alpha1.GeneralPodAutoscaler, err error)
Get takes name of the generalPodAutoscaler, and returns the corresponding generalPodAutoscaler object, and an error if there is any.
func (*FakeGeneralPodAutoscalers) List ¶
func (c *FakeGeneralPodAutoscalers) List(opts v1.ListOptions) (result *v1alpha1.GeneralPodAutoscalerList, err error)
List takes label and field selectors, and returns the list of GeneralPodAutoscalers that match those selectors.
func (*FakeGeneralPodAutoscalers) Patch ¶
func (c *FakeGeneralPodAutoscalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GeneralPodAutoscaler, err error)
Patch applies the patch and returns the patched generalPodAutoscaler.
func (*FakeGeneralPodAutoscalers) Update ¶
func (c *FakeGeneralPodAutoscalers) Update(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (result *v1alpha1.GeneralPodAutoscaler, err error)
Update takes the representation of a generalPodAutoscaler and updates it. Returns the server's representation of the generalPodAutoscaler, and an error, if there is any.
func (*FakeGeneralPodAutoscalers) UpdateStatus ¶
func (c *FakeGeneralPodAutoscalers) UpdateStatus(generalPodAutoscaler *v1alpha1.GeneralPodAutoscaler) (*v1alpha1.GeneralPodAutoscaler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGeneralPodAutoscalers) Watch ¶
func (c *FakeGeneralPodAutoscalers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested generalPodAutoscalers.