package fake

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

Package fake has the automatically generated clients.

Index

Types

type FakeAutoscaling

type FakeAutoscaling struct {
	*testing.Fake
}

func (*FakeAutoscaling) GetRESTClient

func (c *FakeAutoscaling) GetRESTClient() *rest.RESTClient

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

func (*FakeAutoscaling) HorizontalPodAutoscalers

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

type FakeHorizontalPodAutoscalers

type FakeHorizontalPodAutoscalers struct {
	Fake *FakeAutoscaling
	// 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.DeleteOptions) error

func (*FakeHorizontalPodAutoscalers) DeleteCollection

func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api.DeleteOptions, listOptions api.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.

Source Files

doc.go fake_autoscaling_client.go fake_horizontalpodautoscaler.go

Version
v1.4.0
Published
Oct 17, 2016
Platform
linux/amd64
Imports
8 packages
Last checked
18 minutes ago

Tools for package owners.