v0.0.0-...-8958888 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeCronHpas

type FakeCronHpas struct {
	Fake *FakeCronhpaV1
	// contains filtered or unexported fields

FakeCronHpas implements CronHpaInterface

func (*FakeCronHpas) Create

func (c *FakeCronHpas) Create(cronHpa *cronhpav1.CronHpa) (result *cronhpav1.CronHpa, err error)

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

func (c *FakeCronHpas) Update(cronHpa *cronhpav1.CronHpa) (result *cronhpav1.CronHpa, err error)

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

func (c *FakeCronHpas) UpdateStatus(cronHpa *cronhpav1.CronHpa) (*cronhpav1.CronHpa, error)

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

type FakeCronhpaV1 struct {

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL