fake

package
v0.0.0-...-e87aea4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 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 FakeAutoscalingV1beta1

type FakeAutoscalingV1beta1 struct {
	*testing.Fake
}

func (*FakeAutoscalingV1beta1) RESTClient

func (c *FakeAutoscalingV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeAutoscalingV1beta1) VerticalPodAutoscalerCheckpoints

func (c *FakeAutoscalingV1beta1) VerticalPodAutoscalerCheckpoints(namespace string) v1beta1.VerticalPodAutoscalerCheckpointInterface

func (*FakeAutoscalingV1beta1) VerticalPodAutoscalers

func (c *FakeAutoscalingV1beta1) VerticalPodAutoscalers(namespace string) v1beta1.VerticalPodAutoscalerInterface

type FakeVerticalPodAutoscalerCheckpoints

type FakeVerticalPodAutoscalerCheckpoints struct {
	Fake *FakeAutoscalingV1beta1
	// contains filtered or unexported fields
}

FakeVerticalPodAutoscalerCheckpoints implements VerticalPodAutoscalerCheckpointInterface

func (*FakeVerticalPodAutoscalerCheckpoints) Create

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

func (*FakeVerticalPodAutoscalerCheckpoints) Delete

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

func (*FakeVerticalPodAutoscalerCheckpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVerticalPodAutoscalerCheckpoints) Get

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

func (*FakeVerticalPodAutoscalerCheckpoints) List

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

func (*FakeVerticalPodAutoscalerCheckpoints) Patch

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

Patch applies the patch and returns the patched verticalPodAutoscalerCheckpoint.

func (*FakeVerticalPodAutoscalerCheckpoints) Update

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

func (*FakeVerticalPodAutoscalerCheckpoints) Watch

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

type FakeVerticalPodAutoscalers

type FakeVerticalPodAutoscalers struct {
	Fake *FakeAutoscalingV1beta1
	// contains filtered or unexported fields
}

FakeVerticalPodAutoscalers implements VerticalPodAutoscalerInterface

func (*FakeVerticalPodAutoscalers) Create

func (c *FakeVerticalPodAutoscalers) Create(verticalPodAutoscaler *v1beta1.VerticalPodAutoscaler) (result *v1beta1.VerticalPodAutoscaler, err error)

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

func (*FakeVerticalPodAutoscalers) Delete

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

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

func (*FakeVerticalPodAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVerticalPodAutoscalers) Get

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

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

func (*FakeVerticalPodAutoscalers) List

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

func (*FakeVerticalPodAutoscalers) Patch

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

Patch applies the patch and returns the patched verticalPodAutoscaler.

func (*FakeVerticalPodAutoscalers) Update

func (c *FakeVerticalPodAutoscalers) Update(verticalPodAutoscaler *v1beta1.VerticalPodAutoscaler) (result *v1beta1.VerticalPodAutoscaler, err error)

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

func (*FakeVerticalPodAutoscalers) UpdateStatus

func (c *FakeVerticalPodAutoscalers) UpdateStatus(verticalPodAutoscaler *v1beta1.VerticalPodAutoscaler) (*v1beta1.VerticalPodAutoscaler, error)

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

func (*FakeVerticalPodAutoscalers) Watch

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

Jump to

Keyboard shortcuts

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