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