fake

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 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 FakeApps

type FakeApps struct {
	*testing.Fake
}

func (*FakeApps) RESTClient

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

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

func (*FakeApps) StatefulSets

func (c *FakeApps) StatefulSets(namespace string) internalversion.StatefulSetInterface

type FakeStatefulSets

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

FakeStatefulSets implements StatefulSetInterface

func (*FakeStatefulSets) Create

func (c *FakeStatefulSets) Create(statefulSet *apps.StatefulSet) (result *apps.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, options v1.GetOptions) (result *apps.StatefulSet, err error)

func (*FakeStatefulSets) List

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

func (*FakeStatefulSets) Patch

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

Patch applies the patch and returns the patched statefulSet.

func (*FakeStatefulSets) Update

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

func (*FakeStatefulSets) UpdateStatus

func (c *FakeStatefulSets) UpdateStatus(statefulSet *apps.StatefulSet) (*apps.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