fake

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2017 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 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) Create

func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)

func (*FakeHorizontalPodAutoscalers) Delete

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

func (*FakeHorizontalPodAutoscalers) DeleteCollection

func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error

func (*FakeHorizontalPodAutoscalers) Get

func (*FakeHorizontalPodAutoscalers) List

func (*FakeHorizontalPodAutoscalers) Patch

func (c *FakeHorizontalPodAutoscalers) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.HorizontalPodAutoscaler, err error)

Patch applies the patch and returns the patched horizontalPodAutoscaler.

func (*FakeHorizontalPodAutoscalers) Update

func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (result *v1.HorizontalPodAutoscaler, err error)

func (*FakeHorizontalPodAutoscalers) UpdateStatus

func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error)

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