fake

package
v0.0.0-...-a3a9308 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 FakeAcceleratorFunctions

type FakeAcceleratorFunctions struct {
	Fake *FakeFpgaV1
	// contains filtered or unexported fields
}

FakeAcceleratorFunctions implements AcceleratorFunctionInterface

func (*FakeAcceleratorFunctions) Create

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

func (*FakeAcceleratorFunctions) Delete

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

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

func (*FakeAcceleratorFunctions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAcceleratorFunctions) Get

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

func (*FakeAcceleratorFunctions) List

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

func (*FakeAcceleratorFunctions) Patch

func (c *FakeAcceleratorFunctions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *fpgaintelcomv1.AcceleratorFunction, err error)

Patch applies the patch and returns the patched acceleratorFunction.

func (*FakeAcceleratorFunctions) Update

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

func (*FakeAcceleratorFunctions) Watch

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

type FakeFpgaRegions

type FakeFpgaRegions struct {
	Fake *FakeFpgaV1
	// contains filtered or unexported fields
}

FakeFpgaRegions implements FpgaRegionInterface

func (*FakeFpgaRegions) Create

func (c *FakeFpgaRegions) Create(fpgaRegion *fpgaintelcomv1.FpgaRegion) (result *fpgaintelcomv1.FpgaRegion, err error)

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

func (*FakeFpgaRegions) Delete

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

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

func (*FakeFpgaRegions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFpgaRegions) Get

func (c *FakeFpgaRegions) Get(name string, options v1.GetOptions) (result *fpgaintelcomv1.FpgaRegion, err error)

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

func (*FakeFpgaRegions) List

func (c *FakeFpgaRegions) List(opts v1.ListOptions) (result *fpgaintelcomv1.FpgaRegionList, err error)

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

func (*FakeFpgaRegions) Patch

func (c *FakeFpgaRegions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *fpgaintelcomv1.FpgaRegion, err error)

Patch applies the patch and returns the patched fpgaRegion.

func (*FakeFpgaRegions) Update

func (c *FakeFpgaRegions) Update(fpgaRegion *fpgaintelcomv1.FpgaRegion) (result *fpgaintelcomv1.FpgaRegion, err error)

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

func (*FakeFpgaRegions) Watch

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

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

type FakeFpgaV1

type FakeFpgaV1 struct {
	*testing.Fake
}

func (*FakeFpgaV1) AcceleratorFunctions

func (c *FakeFpgaV1) AcceleratorFunctions(namespace string) v1.AcceleratorFunctionInterface

func (*FakeFpgaV1) FpgaRegions

func (c *FakeFpgaV1) FpgaRegions(namespace string) v1.FpgaRegionInterface

func (*FakeFpgaV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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