fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 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) KatalystVerticalPodAutoscalers

func (c *FakeAutoscalingV1alpha1) KatalystVerticalPodAutoscalers(namespace string) v1alpha1.KatalystVerticalPodAutoscalerInterface

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.

func (*FakeAutoscalingV1alpha1) VerticalPodAutoscalerRecommendations

func (c *FakeAutoscalingV1alpha1) VerticalPodAutoscalerRecommendations(namespace string) v1alpha1.VerticalPodAutoscalerRecommendationInterface

type FakeKatalystVerticalPodAutoscalers

type FakeKatalystVerticalPodAutoscalers struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeKatalystVerticalPodAutoscalers implements KatalystVerticalPodAutoscalerInterface

func (*FakeKatalystVerticalPodAutoscalers) Create

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

func (*FakeKatalystVerticalPodAutoscalers) Delete

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

func (*FakeKatalystVerticalPodAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKatalystVerticalPodAutoscalers) Get

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

func (*FakeKatalystVerticalPodAutoscalers) List

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

func (*FakeKatalystVerticalPodAutoscalers) Patch

func (c *FakeKatalystVerticalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KatalystVerticalPodAutoscaler, err error)

Patch applies the patch and returns the patched katalystVerticalPodAutoscaler.

func (*FakeKatalystVerticalPodAutoscalers) Update

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

func (*FakeKatalystVerticalPodAutoscalers) UpdateStatus

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

func (*FakeKatalystVerticalPodAutoscalers) Watch

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

type FakeVerticalPodAutoscalerRecommendations

type FakeVerticalPodAutoscalerRecommendations struct {
	Fake *FakeAutoscalingV1alpha1
	// contains filtered or unexported fields
}

FakeVerticalPodAutoscalerRecommendations implements VerticalPodAutoscalerRecommendationInterface

func (*FakeVerticalPodAutoscalerRecommendations) Create

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

func (*FakeVerticalPodAutoscalerRecommendations) Delete

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

func (*FakeVerticalPodAutoscalerRecommendations) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeVerticalPodAutoscalerRecommendations) Get

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

func (*FakeVerticalPodAutoscalerRecommendations) List

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

func (*FakeVerticalPodAutoscalerRecommendations) Patch

Patch applies the patch and returns the patched verticalPodAutoscalerRecommendation.

func (*FakeVerticalPodAutoscalerRecommendations) Update

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

func (*FakeVerticalPodAutoscalerRecommendations) UpdateStatus

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

func (*FakeVerticalPodAutoscalerRecommendations) Watch

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

Jump to

Keyboard shortcuts

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