fake

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 6

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(ctx context.Context, opts v1.DeleteOptions, listOpts 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

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(ctx context.Context, verticalPodAutoscaler *v1beta1.VerticalPodAutoscaler, opts v1.CreateOptions) (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

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

func (*FakeVerticalPodAutoscalers) DeleteCollection

func (c *FakeVerticalPodAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVerticalPodAutoscalers) Get

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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VerticalPodAutoscaler, err error)

Patch applies the patch and returns the patched verticalPodAutoscaler.

func (*FakeVerticalPodAutoscalers) Update

func (c *FakeVerticalPodAutoscalers) Update(ctx context.Context, verticalPodAutoscaler *v1beta1.VerticalPodAutoscaler, opts v1.UpdateOptions) (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

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