Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuctioneers
- func (c *FakeAuctioneers) Create(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.CreateOptions) (result *v1alpha1.Auctioneer, err error)
- func (c *FakeAuctioneers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAuctioneers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAuctioneers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Auctioneer, err error)
- func (c *FakeAuctioneers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AuctioneerList, err error)
- func (c *FakeAuctioneers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Auctioneer, err error)
- func (c *FakeAuctioneers) Update(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.UpdateOptions) (result *v1alpha1.Auctioneer, err error)
- func (c *FakeAuctioneers) UpdateStatus(ctx context.Context, auctioneer *v1alpha1.Auctioneer, opts v1.UpdateOptions) (*v1alpha1.Auctioneer, error)
- func (c *FakeAuctioneers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEwmV1alpha1
- func (c *FakeEwmV1alpha1) Auctioneers(namespace string) v1alpha1.AuctioneerInterface
- func (c *FakeEwmV1alpha1) OrderAuctions(namespace string) v1alpha1.OrderAuctionInterface
- func (c *FakeEwmV1alpha1) OrderReservations(namespace string) v1alpha1.OrderReservationInterface
- func (c *FakeEwmV1alpha1) RESTClient() rest.Interface
- func (c *FakeEwmV1alpha1) RobotConfigurations(namespace string) v1alpha1.RobotConfigurationInterface
- func (c *FakeEwmV1alpha1) TravelTimeCalculations(namespace string) v1alpha1.TravelTimeCalculationInterface
- func (c *FakeEwmV1alpha1) WarehouseOrders(namespace string) v1alpha1.WarehouseOrderInterface
- type FakeOrderAuctions
- func (c *FakeOrderAuctions) Create(ctx context.Context, orderAuction *v1alpha1.OrderAuction, ...) (result *v1alpha1.OrderAuction, err error)
- func (c *FakeOrderAuctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOrderAuctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOrderAuctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OrderAuction, err error)
- func (c *FakeOrderAuctions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OrderAuctionList, err error)
- func (c *FakeOrderAuctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OrderAuction, err error)
- func (c *FakeOrderAuctions) Update(ctx context.Context, orderAuction *v1alpha1.OrderAuction, ...) (result *v1alpha1.OrderAuction, err error)
- func (c *FakeOrderAuctions) UpdateStatus(ctx context.Context, orderAuction *v1alpha1.OrderAuction, ...) (*v1alpha1.OrderAuction, error)
- func (c *FakeOrderAuctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOrderReservations
- func (c *FakeOrderReservations) Create(ctx context.Context, orderReservation *v1alpha1.OrderReservation, ...) (result *v1alpha1.OrderReservation, err error)
- func (c *FakeOrderReservations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOrderReservations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOrderReservations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OrderReservation, err error)
- func (c *FakeOrderReservations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OrderReservationList, err error)
- func (c *FakeOrderReservations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OrderReservation, err error)
- func (c *FakeOrderReservations) Update(ctx context.Context, orderReservation *v1alpha1.OrderReservation, ...) (result *v1alpha1.OrderReservation, err error)
- func (c *FakeOrderReservations) UpdateStatus(ctx context.Context, orderReservation *v1alpha1.OrderReservation, ...) (*v1alpha1.OrderReservation, error)
- func (c *FakeOrderReservations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRobotConfigurations
- func (c *FakeRobotConfigurations) Create(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, ...) (result *v1alpha1.RobotConfiguration, err error)
- func (c *FakeRobotConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRobotConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRobotConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RobotConfiguration, err error)
- func (c *FakeRobotConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RobotConfigurationList, err error)
- func (c *FakeRobotConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RobotConfiguration, err error)
- func (c *FakeRobotConfigurations) Update(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, ...) (result *v1alpha1.RobotConfiguration, err error)
- func (c *FakeRobotConfigurations) UpdateStatus(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, ...) (*v1alpha1.RobotConfiguration, error)
- func (c *FakeRobotConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTravelTimeCalculations
- func (c *FakeTravelTimeCalculations) Create(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, ...) (result *v1alpha1.TravelTimeCalculation, err error)
- func (c *FakeTravelTimeCalculations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTravelTimeCalculations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTravelTimeCalculations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TravelTimeCalculation, err error)
- func (c *FakeTravelTimeCalculations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TravelTimeCalculationList, err error)
- func (c *FakeTravelTimeCalculations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TravelTimeCalculation, err error)
- func (c *FakeTravelTimeCalculations) Update(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, ...) (result *v1alpha1.TravelTimeCalculation, err error)
- func (c *FakeTravelTimeCalculations) UpdateStatus(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, ...) (*v1alpha1.TravelTimeCalculation, error)
- func (c *FakeTravelTimeCalculations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWarehouseOrders
- func (c *FakeWarehouseOrders) Create(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, ...) (result *v1alpha1.WarehouseOrder, err error)
- func (c *FakeWarehouseOrders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWarehouseOrders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWarehouseOrders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WarehouseOrder, err error)
- func (c *FakeWarehouseOrders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WarehouseOrderList, err error)
- func (c *FakeWarehouseOrders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WarehouseOrder, err error)
- func (c *FakeWarehouseOrders) Update(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, ...) (result *v1alpha1.WarehouseOrder, err error)
- func (c *FakeWarehouseOrders) UpdateStatus(ctx context.Context, warehouseOrder *v1alpha1.WarehouseOrder, ...) (*v1alpha1.WarehouseOrder, error)
- func (c *FakeWarehouseOrders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeAuctioneers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested auctioneers.
type FakeEwmV1alpha1 ¶
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 ¶
func (c *FakeOrderAuctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeOrderReservations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OrderReservationList, err error)
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 ¶
func (c *FakeOrderReservations) UpdateStatus(ctx context.Context, orderReservation *v1alpha1.OrderReservation, opts v1.UpdateOptions) (*v1alpha1.OrderReservation, error)
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 ¶
func (c *FakeOrderReservations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeRobotConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RobotConfigurationList, err error)
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 ¶
func (c *FakeRobotConfigurations) UpdateStatus(ctx context.Context, robotConfiguration *v1alpha1.RobotConfiguration, opts v1.UpdateOptions) (*v1alpha1.RobotConfiguration, error)
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 ¶
func (c *FakeRobotConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeTravelTimeCalculations) Create(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, opts v1.CreateOptions) (result *v1alpha1.TravelTimeCalculation, err error)
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 ¶
func (c *FakeTravelTimeCalculations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeTravelTimeCalculations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TravelTimeCalculation, err error)
Get takes name of the travelTimeCalculation, and returns the corresponding travelTimeCalculation object, and an error if there is any.
func (*FakeTravelTimeCalculations) List ¶
func (c *FakeTravelTimeCalculations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TravelTimeCalculationList, err error)
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 ¶
func (c *FakeTravelTimeCalculations) Update(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, opts v1.UpdateOptions) (result *v1alpha1.TravelTimeCalculation, err error)
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 ¶
func (c *FakeTravelTimeCalculations) UpdateStatus(ctx context.Context, travelTimeCalculation *v1alpha1.TravelTimeCalculation, opts v1.UpdateOptions) (*v1alpha1.TravelTimeCalculation, error)
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 ¶
func (c *FakeTravelTimeCalculations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeWarehouseOrders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WarehouseOrderList, err error)
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 ¶
func (c *FakeWarehouseOrders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested warehouseOrders.