fake

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 3

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 FakeVirtletConfigMappings

type FakeVirtletConfigMappings struct {
	Fake *FakeVirtletV1
	// contains filtered or unexported fields
}

FakeVirtletConfigMappings implements VirtletConfigMappingInterface

func (*FakeVirtletConfigMappings) Create

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

func (*FakeVirtletConfigMappings) Delete

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

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

func (*FakeVirtletConfigMappings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtletConfigMappings) Get

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

func (*FakeVirtletConfigMappings) List

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

func (*FakeVirtletConfigMappings) Patch

func (c *FakeVirtletConfigMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)

Patch applies the patch and returns the patched virtletConfigMapping.

func (*FakeVirtletConfigMappings) Update

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

func (*FakeVirtletConfigMappings) Watch

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

type FakeVirtletImageMappings

type FakeVirtletImageMappings struct {
	Fake *FakeVirtletV1
	// contains filtered or unexported fields
}

FakeVirtletImageMappings implements VirtletImageMappingInterface

func (*FakeVirtletImageMappings) Create

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

func (*FakeVirtletImageMappings) Delete

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

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

func (*FakeVirtletImageMappings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtletImageMappings) Get

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

func (*FakeVirtletImageMappings) List

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

func (*FakeVirtletImageMappings) Patch

func (c *FakeVirtletImageMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletImageMapping, err error)

Patch applies the patch and returns the patched virtletImageMapping.

func (*FakeVirtletImageMappings) Update

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

func (*FakeVirtletImageMappings) Watch

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

type FakeVirtletV1

type FakeVirtletV1 struct {
	*testing.Fake
}

func (*FakeVirtletV1) RESTClient

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

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

func (*FakeVirtletV1) VirtletConfigMappings

func (c *FakeVirtletV1) VirtletConfigMappings(namespace string) v1.VirtletConfigMappingInterface

func (*FakeVirtletV1) VirtletImageMappings

func (c *FakeVirtletV1) VirtletImageMappings(namespace string) v1.VirtletImageMappingInterface

Jump to

Keyboard shortcuts

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