fake

package
v1.14.10 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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 FakeAutoscaling

type FakeAutoscaling struct {
	*testing.Fake
}

func (*FakeAutoscaling) HorizontalPodAutoscalers

func (c *FakeAutoscaling) HorizontalPodAutoscalers(namespace string) internalversion.HorizontalPodAutoscalerInterface

func (*FakeAutoscaling) RESTClient

func (c *FakeAutoscaling) 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 *FakeAutoscaling
	// contains filtered or unexported fields
}

FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface

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

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

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

func (*FakeHorizontalPodAutoscalers) DeleteCollection

func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *v1.DeleteOptions, listOptions 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(name string, pt types.PatchType, data []byte, subresources ...string) (result *autoscaling.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.

Jump to

Keyboard shortcuts

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