Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFlowV1
- type FakeStateMachineRunners
- func (c *FakeStateMachineRunners) Create(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, ...) (result *statev1.StateMachineRunner, err error)
- func (c *FakeStateMachineRunners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStateMachineRunners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStateMachineRunners) Get(ctx context.Context, name string, options v1.GetOptions) (result *statev1.StateMachineRunner, err error)
- func (c *FakeStateMachineRunners) List(ctx context.Context, opts v1.ListOptions) (result *statev1.StateMachineRunnerList, err error)
- func (c *FakeStateMachineRunners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *statev1.StateMachineRunner, err error)
- func (c *FakeStateMachineRunners) Update(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, ...) (result *statev1.StateMachineRunner, err error)
- func (c *FakeStateMachineRunners) UpdateStatus(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, ...) (*statev1.StateMachineRunner, error)
- func (c *FakeStateMachineRunners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStateMachines
- func (c *FakeStateMachines) Create(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.CreateOptions) (result *statev1.StateMachine, err error)
- func (c *FakeStateMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStateMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStateMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *statev1.StateMachine, err error)
- func (c *FakeStateMachines) List(ctx context.Context, opts v1.ListOptions) (result *statev1.StateMachineList, err error)
- func (c *FakeStateMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *statev1.StateMachine, err error)
- func (c *FakeStateMachines) Update(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.UpdateOptions) (result *statev1.StateMachine, err error)
- func (c *FakeStateMachines) UpdateStatus(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.UpdateOptions) (*statev1.StateMachine, error)
- func (c *FakeStateMachines) 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 FakeFlowV1 ¶
func (*FakeFlowV1) RESTClient ¶
func (c *FakeFlowV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeFlowV1) StateMachineRunners ¶
func (c *FakeFlowV1) StateMachineRunners(namespace string) v1.StateMachineRunnerInterface
func (*FakeFlowV1) StateMachines ¶
func (c *FakeFlowV1) StateMachines(namespace string) v1.StateMachineInterface
type FakeStateMachineRunners ¶
type FakeStateMachineRunners struct { Fake *FakeFlowV1 // contains filtered or unexported fields }
FakeStateMachineRunners implements StateMachineRunnerInterface
func (*FakeStateMachineRunners) Create ¶
func (c *FakeStateMachineRunners) Create(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, opts v1.CreateOptions) (result *statev1.StateMachineRunner, err error)
Create takes the representation of a stateMachineRunner and creates it. Returns the server's representation of the stateMachineRunner, and an error, if there is any.
func (*FakeStateMachineRunners) Delete ¶
func (c *FakeStateMachineRunners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the stateMachineRunner and deletes it. Returns an error if one occurs.
func (*FakeStateMachineRunners) DeleteCollection ¶
func (c *FakeStateMachineRunners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStateMachineRunners) Get ¶
func (c *FakeStateMachineRunners) Get(ctx context.Context, name string, options v1.GetOptions) (result *statev1.StateMachineRunner, err error)
Get takes name of the stateMachineRunner, and returns the corresponding stateMachineRunner object, and an error if there is any.
func (*FakeStateMachineRunners) List ¶
func (c *FakeStateMachineRunners) List(ctx context.Context, opts v1.ListOptions) (result *statev1.StateMachineRunnerList, err error)
List takes label and field selectors, and returns the list of StateMachineRunners that match those selectors.
func (*FakeStateMachineRunners) Patch ¶
func (c *FakeStateMachineRunners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *statev1.StateMachineRunner, err error)
Patch applies the patch and returns the patched stateMachineRunner.
func (*FakeStateMachineRunners) Update ¶
func (c *FakeStateMachineRunners) Update(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, opts v1.UpdateOptions) (result *statev1.StateMachineRunner, err error)
Update takes the representation of a stateMachineRunner and updates it. Returns the server's representation of the stateMachineRunner, and an error, if there is any.
func (*FakeStateMachineRunners) UpdateStatus ¶
func (c *FakeStateMachineRunners) UpdateStatus(ctx context.Context, stateMachineRunner *statev1.StateMachineRunner, opts v1.UpdateOptions) (*statev1.StateMachineRunner, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStateMachineRunners) Watch ¶
func (c *FakeStateMachineRunners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stateMachineRunners.
type FakeStateMachines ¶
type FakeStateMachines struct { Fake *FakeFlowV1 // contains filtered or unexported fields }
FakeStateMachines implements StateMachineInterface
func (*FakeStateMachines) Create ¶
func (c *FakeStateMachines) Create(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.CreateOptions) (result *statev1.StateMachine, err error)
Create takes the representation of a stateMachine and creates it. Returns the server's representation of the stateMachine, and an error, if there is any.
func (*FakeStateMachines) Delete ¶
func (c *FakeStateMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the stateMachine and deletes it. Returns an error if one occurs.
func (*FakeStateMachines) DeleteCollection ¶
func (c *FakeStateMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStateMachines) Get ¶
func (c *FakeStateMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *statev1.StateMachine, err error)
Get takes name of the stateMachine, and returns the corresponding stateMachine object, and an error if there is any.
func (*FakeStateMachines) List ¶
func (c *FakeStateMachines) List(ctx context.Context, opts v1.ListOptions) (result *statev1.StateMachineList, err error)
List takes label and field selectors, and returns the list of StateMachines that match those selectors.
func (*FakeStateMachines) Patch ¶
func (c *FakeStateMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *statev1.StateMachine, err error)
Patch applies the patch and returns the patched stateMachine.
func (*FakeStateMachines) Update ¶
func (c *FakeStateMachines) Update(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.UpdateOptions) (result *statev1.StateMachine, err error)
Update takes the representation of a stateMachine and updates it. Returns the server's representation of the stateMachine, and an error, if there is any.
func (*FakeStateMachines) UpdateStatus ¶
func (c *FakeStateMachines) UpdateStatus(ctx context.Context, stateMachine *statev1.StateMachine, opts v1.UpdateOptions) (*statev1.StateMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStateMachines) Watch ¶
func (c *FakeStateMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stateMachines.