Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFlyteWorkflows
- func (c *FakeFlyteWorkflows) Create(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, ...) (result *v1alpha1.FlyteWorkflow, err error)
- func (c *FakeFlyteWorkflows) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFlyteWorkflows) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFlyteWorkflows) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlyteWorkflow, err error)
- func (c *FakeFlyteWorkflows) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlyteWorkflowList, err error)
- func (c *FakeFlyteWorkflows) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FlyteWorkflow, err error)
- func (c *FakeFlyteWorkflows) Update(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, ...) (result *v1alpha1.FlyteWorkflow, err error)
- func (c *FakeFlyteWorkflows) UpdateStatus(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, ...) (*v1alpha1.FlyteWorkflow, error)
- func (c *FakeFlyteWorkflows) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFlyteworkflowV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFlyteWorkflows ¶
type FakeFlyteWorkflows struct { Fake *FakeFlyteworkflowV1alpha1 // contains filtered or unexported fields }
FakeFlyteWorkflows implements FlyteWorkflowInterface
func (*FakeFlyteWorkflows) Create ¶
func (c *FakeFlyteWorkflows) Create(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, opts v1.CreateOptions) (result *v1alpha1.FlyteWorkflow, err error)
Create takes the representation of a flyteWorkflow and creates it. Returns the server's representation of the flyteWorkflow, and an error, if there is any.
func (*FakeFlyteWorkflows) Delete ¶
func (c *FakeFlyteWorkflows) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the flyteWorkflow and deletes it. Returns an error if one occurs.
func (*FakeFlyteWorkflows) DeleteCollection ¶
func (c *FakeFlyteWorkflows) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlyteWorkflows) Get ¶
func (c *FakeFlyteWorkflows) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FlyteWorkflow, err error)
Get takes name of the flyteWorkflow, and returns the corresponding flyteWorkflow object, and an error if there is any.
func (*FakeFlyteWorkflows) List ¶
func (c *FakeFlyteWorkflows) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FlyteWorkflowList, err error)
List takes label and field selectors, and returns the list of FlyteWorkflows that match those selectors.
func (*FakeFlyteWorkflows) Patch ¶
func (c *FakeFlyteWorkflows) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlyteWorkflow, err error)
Patch applies the patch and returns the patched flyteWorkflow.
func (*FakeFlyteWorkflows) Update ¶
func (c *FakeFlyteWorkflows) Update(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, opts v1.UpdateOptions) (result *v1alpha1.FlyteWorkflow, err error)
Update takes the representation of a flyteWorkflow and updates it. Returns the server's representation of the flyteWorkflow, and an error, if there is any.
func (*FakeFlyteWorkflows) UpdateStatus ¶
func (c *FakeFlyteWorkflows) UpdateStatus(ctx context.Context, flyteWorkflow *v1alpha1.FlyteWorkflow, opts v1.UpdateOptions) (*v1alpha1.FlyteWorkflow, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlyteWorkflows) Watch ¶
func (c *FakeFlyteWorkflows) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flyteWorkflows.
type FakeFlyteworkflowV1alpha1 ¶
func (*FakeFlyteworkflowV1alpha1) FlyteWorkflows ¶
func (c *FakeFlyteworkflowV1alpha1) FlyteWorkflows(namespace string) v1alpha1.FlyteWorkflowInterface
func (*FakeFlyteworkflowV1alpha1) RESTClient ¶
func (c *FakeFlyteworkflowV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.