fake

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: Apache-2.0 Imports: 8 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 FakeCore

type FakeCore struct {
	*core.Fake
}

func (*FakeCore) GetRESTClient

func (c *FakeCore) GetRESTClient() *restclient.RESTClient

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

func (*FakeCore) Images

func (c *FakeCore) Images(namespace string) v1.ImageInterface

type FakeImages

type FakeImages struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeImages implements ImageInterface

func (*FakeImages) Create

func (c *FakeImages) Create(image *v1.Image) (result *v1.Image, err error)

func (*FakeImages) Delete

func (c *FakeImages) Delete(name string, options *api.DeleteOptions) error

func (*FakeImages) DeleteCollection

func (c *FakeImages) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeImages) Get

func (c *FakeImages) Get(name string) (result *v1.Image, err error)

func (*FakeImages) List

func (c *FakeImages) List(opts api.ListOptions) (result *v1.ImageList, err error)

func (*FakeImages) Patch

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

Patch applies the patch and returns the patched image.

func (*FakeImages) Update

func (c *FakeImages) Update(image *v1.Image) (result *v1.Image, err error)

func (*FakeImages) Watch

func (c *FakeImages) Watch(opts api.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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