Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAcceleratorFunctions
- func (c *FakeAcceleratorFunctions) Create(acceleratorFunction *fpgaintelcomv1.AcceleratorFunction) (result *fpgaintelcomv1.AcceleratorFunction, err error)
- func (c *FakeAcceleratorFunctions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAcceleratorFunctions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAcceleratorFunctions) Get(name string, options v1.GetOptions) (result *fpgaintelcomv1.AcceleratorFunction, err error)
- func (c *FakeAcceleratorFunctions) List(opts v1.ListOptions) (result *fpgaintelcomv1.AcceleratorFunctionList, err error)
- func (c *FakeAcceleratorFunctions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *fpgaintelcomv1.AcceleratorFunction, err error)
- func (c *FakeAcceleratorFunctions) Update(acceleratorFunction *fpgaintelcomv1.AcceleratorFunction) (result *fpgaintelcomv1.AcceleratorFunction, err error)
- func (c *FakeAcceleratorFunctions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFpgaRegions
- func (c *FakeFpgaRegions) Create(fpgaRegion *fpgaintelcomv1.FpgaRegion) (result *fpgaintelcomv1.FpgaRegion, err error)
- func (c *FakeFpgaRegions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFpgaRegions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFpgaRegions) Get(name string, options v1.GetOptions) (result *fpgaintelcomv1.FpgaRegion, err error)
- func (c *FakeFpgaRegions) List(opts v1.ListOptions) (result *fpgaintelcomv1.FpgaRegionList, err error)
- func (c *FakeFpgaRegions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *fpgaintelcomv1.FpgaRegion, err error)
- func (c *FakeFpgaRegions) Update(fpgaRegion *fpgaintelcomv1.FpgaRegion) (result *fpgaintelcomv1.FpgaRegion, err error)
- func (c *FakeFpgaRegions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFpgaV1
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 ¶
func (c *FakeAcceleratorFunctions) Create(acceleratorFunction *fpgaintelcomv1.AcceleratorFunction) (result *fpgaintelcomv1.AcceleratorFunction, err error)
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 ¶
func (c *FakeAcceleratorFunctions) Get(name string, options v1.GetOptions) (result *fpgaintelcomv1.AcceleratorFunction, err error)
Get takes name of the acceleratorFunction, and returns the corresponding acceleratorFunction object, and an error if there is any.
func (*FakeAcceleratorFunctions) List ¶
func (c *FakeAcceleratorFunctions) List(opts v1.ListOptions) (result *fpgaintelcomv1.AcceleratorFunctionList, err error)
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 ¶
func (c *FakeAcceleratorFunctions) Update(acceleratorFunction *fpgaintelcomv1.AcceleratorFunction) (result *fpgaintelcomv1.AcceleratorFunction, err error)
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 ¶
func (c *FakeAcceleratorFunctions) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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.