fake

package
v0.0.0-...-8f6fd7e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2018 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 FakeMattmoorV2

type FakeMattmoorV2 struct {
	*testing.Fake
}

func (*FakeMattmoorV2) RESTClient

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

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

func (*FakeMattmoorV2) WarmImages

func (c *FakeMattmoorV2) WarmImages(namespace string) v2.WarmImageInterface

type FakeWarmImages

type FakeWarmImages struct {
	Fake *FakeMattmoorV2
	// contains filtered or unexported fields
}

FakeWarmImages implements WarmImageInterface

func (*FakeWarmImages) Create

func (c *FakeWarmImages) Create(warmImage *v2.WarmImage) (result *v2.WarmImage, err error)

Create takes the representation of a warmImage and creates it. Returns the server's representation of the warmImage, and an error, if there is any.

func (*FakeWarmImages) Delete

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

Delete takes name of the warmImage and deletes it. Returns an error if one occurs.

func (*FakeWarmImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeWarmImages) Get

func (c *FakeWarmImages) Get(name string, options v1.GetOptions) (result *v2.WarmImage, err error)

Get takes name of the warmImage, and returns the corresponding warmImage object, and an error if there is any.

func (*FakeWarmImages) List

func (c *FakeWarmImages) List(opts v1.ListOptions) (result *v2.WarmImageList, err error)

List takes label and field selectors, and returns the list of WarmImages that match those selectors.

func (*FakeWarmImages) Patch

func (c *FakeWarmImages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.WarmImage, err error)

Patch applies the patch and returns the patched warmImage.

func (*FakeWarmImages) Update

func (c *FakeWarmImages) Update(warmImage *v2.WarmImage) (result *v2.WarmImage, err error)

Update takes the representation of a warmImage and updates it. Returns the server's representation of the warmImage, and an error, if there is any.

func (*FakeWarmImages) Watch

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

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

Jump to

Keyboard shortcuts

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