fake

package
v0.0.0-...-be2354b Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAutoscalingV1alpha1

type FakeAutoscalingV1alpha1 struct {
	*testing.Fake
}

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

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

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

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

Jump to

Keyboard shortcuts

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