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 FakeConfigHpas

type FakeConfigHpas struct {
	Fake *FakeConfighpaV1beta1
	// contains filtered or unexported fields

FakeConfigHpas implements ConfigHpaInterface

func (*FakeConfigHpas) Create

func (c *FakeConfigHpas) Create(configHpa *v1beta1.ConfigHpa) (result *v1beta1.ConfigHpa, err error)

Create takes the representation of a configHpa and creates it. Returns the server's representation of the configHpa, and an error, if there is any.

func (*FakeConfigHpas) Delete

func (c *FakeConfigHpas) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the configHpa and deletes it. Returns an error if one occurs.

func (*FakeConfigHpas) DeleteCollection

func (c *FakeConfigHpas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConfigHpas) Get

func (c *FakeConfigHpas) Get(name string, options v1.GetOptions) (result *v1beta1.ConfigHpa, err error)

Get takes name of the configHpa, and returns the corresponding configHpa object, and an error if there is any.

func (*FakeConfigHpas) List

func (c *FakeConfigHpas) List(opts v1.ListOptions) (result *v1beta1.ConfigHpaList, err error)

List takes label and field selectors, and returns the list of ConfigHpas that match those selectors.

func (*FakeConfigHpas) Patch

func (c *FakeConfigHpas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ConfigHpa, err error)

Patch applies the patch and returns the patched configHpa.

func (*FakeConfigHpas) Update

func (c *FakeConfigHpas) Update(configHpa *v1beta1.ConfigHpa) (result *v1beta1.ConfigHpa, err error)

Update takes the representation of a configHpa and updates it. Returns the server's representation of the configHpa, and an error, if there is any.

func (*FakeConfigHpas) UpdateStatus

func (c *FakeConfigHpas) UpdateStatus(configHpa *v1beta1.ConfigHpa) (*v1beta1.ConfigHpa, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConfigHpas) Watch

func (c *FakeConfigHpas) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested configHpas.

type FakeConfighpaV1beta1

type FakeConfighpaV1beta1 struct {

func (*FakeConfighpaV1beta1) ConfigHpas

func (c *FakeConfighpaV1beta1) ConfigHpas(namespace string) v1beta1.ConfigHpaInterface

func (*FakeConfighpaV1beta1) RESTClient

func (c *FakeConfighpaV1beta1) 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