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 FakeAppsV1beta1

type FakeAppsV1beta1 struct {
	*testing.Fake
}

func (*FakeAppsV1beta1) RESTClient

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

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

func (*FakeAppsV1beta1) StatefulSets

func (c *FakeAppsV1beta1) StatefulSets(namespace string) v1beta1.StatefulSetInterface

type FakeStatefulSets

type FakeStatefulSets struct {
	Fake *FakeAppsV1beta1
	// contains filtered or unexported fields
}

FakeStatefulSets implements StatefulSetInterface

func (*FakeStatefulSets) Create

func (c *FakeStatefulSets) Create(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)

func (*FakeStatefulSets) Delete

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

func (*FakeStatefulSets) DeleteCollection

func (c *FakeStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

func (*FakeStatefulSets) Get

func (c *FakeStatefulSets) Get(name string) (result *v1beta1.StatefulSet, err error)

func (*FakeStatefulSets) List

func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1beta1.StatefulSetList, err error)

func (*FakeStatefulSets) Patch

func (c *FakeStatefulSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StatefulSet, err error)

Patch applies the patch and returns the patched statefulSet.

func (*FakeStatefulSets) Update

func (c *FakeStatefulSets) Update(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)

func (*FakeStatefulSets) UpdateStatus

func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)

func (*FakeStatefulSets) Watch

func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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