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