package fake

import "k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeAutoscalingV1

type FakeAutoscalingV1 struct {
	*testing.Fake
}

func (*FakeAutoscalingV1) HorizontalPodAutoscalers

func (c *FakeAutoscalingV1) HorizontalPodAutoscalers(namespace string) v1.HorizontalPodAutoscalerInterface

func (*FakeAutoscalingV1) RESTClient

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

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

type FakeHorizontalPodAutoscalers

type FakeHorizontalPodAutoscalers struct {
	Fake *FakeAutoscalingV1
	// contains filtered or unexported fields
}

FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface

func (*FakeHorizontalPodAutoscalers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied horizontalPodAutoscaler.

func (*FakeHorizontalPodAutoscalers) ApplyStatus

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

func (*FakeHorizontalPodAutoscalers) Create

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

func (*FakeHorizontalPodAutoscalers) Delete

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

func (*FakeHorizontalPodAutoscalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHorizontalPodAutoscalers) Get

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

func (*FakeHorizontalPodAutoscalers) List

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

func (*FakeHorizontalPodAutoscalers) Patch

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

Patch applies the patch and returns the patched horizontalPodAutoscaler.

func (*FakeHorizontalPodAutoscalers) Update

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

func (*FakeHorizontalPodAutoscalers) UpdateStatus

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

func (*FakeHorizontalPodAutoscalers) Watch

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

Source Files

doc.go fake_autoscaling_client.go fake_horizontalpodautoscaler.go

Version
v0.22.0
Published
Aug 4, 2021
Platform
linux/amd64
Imports
13 packages
Last checked
17 minutes ago

Tools for package owners.