fake

package
v0.0.0-...-8210843 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 10 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 FakeAuctioneers

type FakeAuctioneers struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeAuctioneers implements AuctioneerInterface

func (*FakeAuctioneers) Create

func (c *FakeAuctioneers) Create(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.CreateOptions) (result *v1alpha1.Auctioneer, err error)

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

func (*FakeAuctioneers) Delete

func (c *FakeAuctioneers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeAuctioneers) DeleteCollection

func (c *FakeAuctioneers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAuctioneers) Get

func (c *FakeAuctioneers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Auctioneer, err error)

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

func (*FakeAuctioneers) List

func (c *FakeAuctioneers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AuctioneerList, err error)

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

func (*FakeAuctioneers) Patch

func (c *FakeAuctioneers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Auctioneer, err error)

Patch applies the patch and returns the patched auctioneer.

func (*FakeAuctioneers) Update

func (c *FakeAuctioneers) Update(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.UpdateOptions) (result *v1alpha1.Auctioneer, err error)

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

func (*FakeAuctioneers) UpdateStatus

func (c *FakeAuctioneers) UpdateStatus(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.UpdateOptions) (*v1alpha1.Auctioneer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAuctioneers) Watch

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

type FakeEwmV1alpha1

type FakeEwmV1alpha1 struct {
	*testing.Fake
}

func (*FakeEwmV1alpha1) Auctioneers

func (c *FakeEwmV1alpha1) Auctioneers(namespace string) v1alpha1.AuctioneerInterface

func (*FakeEwmV1alpha1) OrderAuctions

func (c *FakeEwmV1alpha1) OrderAuctions(namespace string) v1alpha1.OrderAuctionInterface

func (*FakeEwmV1alpha1) OrderReservations

func (c *FakeEwmV1alpha1) OrderReservations(namespace string) v1alpha1.OrderReservationInterface

func (*FakeEwmV1alpha1) RESTClient

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

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

func (*FakeEwmV1alpha1) RobotConfigurations

func (c *FakeEwmV1alpha1) RobotConfigurations(namespace string) v1alpha1.RobotConfigurationInterface

func (*FakeEwmV1alpha1) TravelTimeCalculations

func (c *FakeEwmV1alpha1) TravelTimeCalculations(namespace string) v1alpha1.TravelTimeCalculationInterface

func (*FakeEwmV1alpha1) WarehouseOrders

func (c *FakeEwmV1alpha1) WarehouseOrders(namespace string) v1alpha1.WarehouseOrderInterface

type FakeOrderAuctions

type FakeOrderAuctions struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeOrderAuctions implements OrderAuctionInterface

func (*FakeOrderAuctions) Create

func (c *FakeOrderAuctions) Create(ctx context.Context, orderAuction *v1alpha1.OrderAuction, opts v1.CreateOptions) (result *v1alpha1.OrderAuction, err error)

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

func (*FakeOrderAuctions) Delete

func (c *FakeOrderAuctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeOrderAuctions) DeleteCollection

func (c *FakeOrderAuctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOrderAuctions) Get

func (c *FakeOrderAuctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OrderAuction, err error)

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

func (*FakeOrderAuctions) List

func (c *FakeOrderAuctions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OrderAuctionList, err error)

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

func (*FakeOrderAuctions) Patch

func (c *FakeOrderAuctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OrderAuction, err error)

Patch applies the patch and returns the patched orderAuction.

func (*FakeOrderAuctions) Update

func (c *FakeOrderAuctions) Update(ctx context.Context, orderAuction *v1alpha1.OrderAuction, opts v1.UpdateOptions) (result *v1alpha1.OrderAuction, err error)

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

func (*FakeOrderAuctions) UpdateStatus

func (c *FakeOrderAuctions) UpdateStatus(ctx context.Context, orderAuction *v1alpha1.OrderAuction, opts v1.UpdateOptions) (*v1alpha1.OrderAuction, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOrderAuctions) Watch

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

type FakeOrderReservations

type FakeOrderReservations struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeOrderReservations implements OrderReservationInterface

func (*FakeOrderReservations) Create

func (c *FakeOrderReservations) Create(ctx context.Context, orderReservation *v1alpha1.OrderReservation, opts v1.CreateOptions) (result *v1alpha1.OrderReservation, err error)

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

func (*FakeOrderReservations) Delete

func (c *FakeOrderReservations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeOrderReservations) DeleteCollection

func (c *FakeOrderReservations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOrderReservations) Get

func (c *FakeOrderReservations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OrderReservation, err error)

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

func (*FakeOrderReservations) List

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

func (*FakeOrderReservations) Patch

func (c *FakeOrderReservations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OrderReservation, err error)

Patch applies the patch and returns the patched orderReservation.

func (*FakeOrderReservations) Update

func (c *FakeOrderReservations) Update(ctx context.Context, orderReservation *v1alpha1.OrderReservation, opts v1.UpdateOptions) (result *v1alpha1.OrderReservation, err error)

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

func (*FakeOrderReservations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOrderReservations) Watch

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

type FakeRobotConfigurations

type FakeRobotConfigurations struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeRobotConfigurations implements RobotConfigurationInterface

func (*FakeRobotConfigurations) Create

func (c *FakeRobotConfigurations) Create(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, opts v1.CreateOptions) (result *v1alpha1.RobotConfiguration, err error)

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

func (*FakeRobotConfigurations) Delete

func (c *FakeRobotConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeRobotConfigurations) DeleteCollection

func (c *FakeRobotConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRobotConfigurations) Get

func (c *FakeRobotConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RobotConfiguration, err error)

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

func (*FakeRobotConfigurations) List

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

func (*FakeRobotConfigurations) Patch

func (c *FakeRobotConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RobotConfiguration, err error)

Patch applies the patch and returns the patched robotConfiguration.

func (*FakeRobotConfigurations) Update

func (c *FakeRobotConfigurations) Update(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, opts v1.UpdateOptions) (result *v1alpha1.RobotConfiguration, err error)

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

func (*FakeRobotConfigurations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRobotConfigurations) Watch

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

type FakeTravelTimeCalculations

type FakeTravelTimeCalculations struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeTravelTimeCalculations implements TravelTimeCalculationInterface

func (*FakeTravelTimeCalculations) Create

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

func (*FakeTravelTimeCalculations) Delete

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

func (*FakeTravelTimeCalculations) DeleteCollection

func (c *FakeTravelTimeCalculations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTravelTimeCalculations) Get

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

func (*FakeTravelTimeCalculations) List

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

func (*FakeTravelTimeCalculations) Patch

func (c *FakeTravelTimeCalculations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TravelTimeCalculation, err error)

Patch applies the patch and returns the patched travelTimeCalculation.

func (*FakeTravelTimeCalculations) Update

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

func (*FakeTravelTimeCalculations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTravelTimeCalculations) Watch

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

type FakeWarehouseOrders

type FakeWarehouseOrders struct {
	Fake *FakeEwmV1alpha1
	// contains filtered or unexported fields
}

FakeWarehouseOrders implements WarehouseOrderInterface

func (*FakeWarehouseOrders) Create

func (c *FakeWarehouseOrders) Create(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, opts v1.CreateOptions) (result *v1alpha1.WarehouseOrder, err error)

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

func (*FakeWarehouseOrders) Delete

func (c *FakeWarehouseOrders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeWarehouseOrders) DeleteCollection

func (c *FakeWarehouseOrders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWarehouseOrders) Get

func (c *FakeWarehouseOrders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WarehouseOrder, err error)

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

func (*FakeWarehouseOrders) List

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

func (*FakeWarehouseOrders) Patch

func (c *FakeWarehouseOrders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WarehouseOrder, err error)

Patch applies the patch and returns the patched warehouseOrder.

func (*FakeWarehouseOrders) Update

func (c *FakeWarehouseOrders) Update(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, opts v1.UpdateOptions) (result *v1alpha1.WarehouseOrder, err error)

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

func (*FakeWarehouseOrders) UpdateStatus

func (c *FakeWarehouseOrders) UpdateStatus(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, opts v1.UpdateOptions) (*v1alpha1.WarehouseOrder, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeWarehouseOrders) Watch

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

Jump to

Keyboard shortcuts

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