fake

package
v0.0.0-...-572177c Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 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 FakePocV1alpha1

type FakePocV1alpha1 struct {
	*testing.Fake
}

func (*FakePocV1alpha1) RESTClient

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

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

func (*FakePocV1alpha1) VerticalPodAutoscalers

func (c *FakePocV1alpha1) VerticalPodAutoscalers(namespace string) v1alpha1.VerticalPodAutoscalerInterface

type FakeVerticalPodAutoscalers

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

FakeVerticalPodAutoscalers implements VerticalPodAutoscalerInterface

func (*FakeVerticalPodAutoscalers) Create

func (c *FakeVerticalPodAutoscalers) Create(verticalPodAutoscaler *v1alpha1.VerticalPodAutoscaler) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.VerticalPodAutoscaler, err error)

Patch applies the patch and returns the patched verticalPodAutoscaler.

func (*FakeVerticalPodAutoscalers) Update

func (c *FakeVerticalPodAutoscalers) Update(verticalPodAutoscaler *v1alpha1.VerticalPodAutoscaler) (result *v1alpha1.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) 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