fake

package
Version: v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 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) Images

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

func (*FakeCore) RESTClient

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

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

type FakeImages

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

FakeImages implements ImageInterface

func (*FakeImages) Create

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

func (*FakeImages) Delete

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

func (*FakeImages) DeleteCollection

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

func (*FakeImages) Get

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

func (*FakeImages) List

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

func (*FakeImages) Patch

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

Patch applies the patch and returns the patched image.

func (*FakeImages) Update

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

func (*FakeImages) Watch

func (c *FakeImages) Watch(opts pkg_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