Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCycloneV1alpha1
- func (c *FakeCycloneV1alpha1) ExecutionClusters() v1alpha1.ExecutionClusterInterface
- func (c *FakeCycloneV1alpha1) Projects(namespace string) v1alpha1.ProjectInterface
- func (c *FakeCycloneV1alpha1) RESTClient() rest.Interface
- func (c *FakeCycloneV1alpha1) Resources(namespace string) v1alpha1.ResourceInterface
- func (c *FakeCycloneV1alpha1) Stages(namespace string) v1alpha1.StageInterface
- func (c *FakeCycloneV1alpha1) WorkflowRuns(namespace string) v1alpha1.WorkflowRunInterface
- func (c *FakeCycloneV1alpha1) WorkflowTriggers(namespace string) v1alpha1.WorkflowTriggerInterface
- func (c *FakeCycloneV1alpha1) Workflows(namespace string) v1alpha1.WorkflowInterface
- type FakeExecutionClusters
- func (c *FakeExecutionClusters) Create(executionCluster *v1alpha1.ExecutionCluster) (result *v1alpha1.ExecutionCluster, err error)
- func (c *FakeExecutionClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExecutionClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExecutionClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.ExecutionCluster, err error)
- func (c *FakeExecutionClusters) List(opts v1.ListOptions) (result *v1alpha1.ExecutionClusterList, err error)
- func (c *FakeExecutionClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ExecutionCluster, err error)
- func (c *FakeExecutionClusters) Update(executionCluster *v1alpha1.ExecutionCluster) (result *v1alpha1.ExecutionCluster, err error)
- func (c *FakeExecutionClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeProjects
- func (c *FakeProjects) Create(project *v1alpha1.Project) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) List(opts v1.ListOptions) (result *v1alpha1.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) Update(project *v1alpha1.Project) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeResources
- func (c *FakeResources) Create(resource *v1alpha1.Resource) (result *v1alpha1.Resource, err error)
- func (c *FakeResources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeResources) Get(name string, options v1.GetOptions) (result *v1alpha1.Resource, err error)
- func (c *FakeResources) List(opts v1.ListOptions) (result *v1alpha1.ResourceList, err error)
- func (c *FakeResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Resource, err error)
- func (c *FakeResources) Update(resource *v1alpha1.Resource) (result *v1alpha1.Resource, err error)
- func (c *FakeResources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStages
- func (c *FakeStages) Create(stage *v1alpha1.Stage) (result *v1alpha1.Stage, err error)
- func (c *FakeStages) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStages) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStages) Get(name string, options v1.GetOptions) (result *v1alpha1.Stage, err error)
- func (c *FakeStages) List(opts v1.ListOptions) (result *v1alpha1.StageList, err error)
- func (c *FakeStages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Stage, err error)
- func (c *FakeStages) Update(stage *v1alpha1.Stage) (result *v1alpha1.Stage, err error)
- func (c *FakeStages) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflowRuns
- func (c *FakeWorkflowRuns) Create(workflowRun *v1alpha1.WorkflowRun) (result *v1alpha1.WorkflowRun, err error)
- func (c *FakeWorkflowRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkflowRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkflowRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.WorkflowRun, err error)
- func (c *FakeWorkflowRuns) List(opts v1.ListOptions) (result *v1alpha1.WorkflowRunList, err error)
- func (c *FakeWorkflowRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.WorkflowRun, err error)
- func (c *FakeWorkflowRuns) Update(workflowRun *v1alpha1.WorkflowRun) (result *v1alpha1.WorkflowRun, err error)
- func (c *FakeWorkflowRuns) UpdateStatus(workflowRun *v1alpha1.WorkflowRun) (*v1alpha1.WorkflowRun, error)
- func (c *FakeWorkflowRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflowTriggers
- func (c *FakeWorkflowTriggers) Create(workflowTrigger *v1alpha1.WorkflowTrigger) (result *v1alpha1.WorkflowTrigger, err error)
- func (c *FakeWorkflowTriggers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkflowTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkflowTriggers) Get(name string, options v1.GetOptions) (result *v1alpha1.WorkflowTrigger, err error)
- func (c *FakeWorkflowTriggers) List(opts v1.ListOptions) (result *v1alpha1.WorkflowTriggerList, err error)
- func (c *FakeWorkflowTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.WorkflowTrigger, err error)
- func (c *FakeWorkflowTriggers) Update(workflowTrigger *v1alpha1.WorkflowTrigger) (result *v1alpha1.WorkflowTrigger, err error)
- func (c *FakeWorkflowTriggers) UpdateStatus(workflowTrigger *v1alpha1.WorkflowTrigger) (*v1alpha1.WorkflowTrigger, error)
- func (c *FakeWorkflowTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflows
- func (c *FakeWorkflows) Create(workflow *v1alpha1.Workflow) (result *v1alpha1.Workflow, err error)
- func (c *FakeWorkflows) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkflows) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkflows) Get(name string, options v1.GetOptions) (result *v1alpha1.Workflow, err error)
- func (c *FakeWorkflows) List(opts v1.ListOptions) (result *v1alpha1.WorkflowList, err error)
- func (c *FakeWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Workflow, err error)
- func (c *FakeWorkflows) Update(workflow *v1alpha1.Workflow) (result *v1alpha1.Workflow, err error)
- func (c *FakeWorkflows) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCycloneV1alpha1 ¶
func (*FakeCycloneV1alpha1) ExecutionClusters ¶ added in v0.9.6
func (c *FakeCycloneV1alpha1) ExecutionClusters() v1alpha1.ExecutionClusterInterface
func (*FakeCycloneV1alpha1) Projects ¶ added in v0.9.3
func (c *FakeCycloneV1alpha1) Projects(namespace string) v1alpha1.ProjectInterface
func (*FakeCycloneV1alpha1) RESTClient ¶
func (c *FakeCycloneV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCycloneV1alpha1) Resources ¶
func (c *FakeCycloneV1alpha1) Resources(namespace string) v1alpha1.ResourceInterface
func (*FakeCycloneV1alpha1) Stages ¶
func (c *FakeCycloneV1alpha1) Stages(namespace string) v1alpha1.StageInterface
func (*FakeCycloneV1alpha1) WorkflowRuns ¶
func (c *FakeCycloneV1alpha1) WorkflowRuns(namespace string) v1alpha1.WorkflowRunInterface
func (*FakeCycloneV1alpha1) WorkflowTriggers ¶
func (c *FakeCycloneV1alpha1) WorkflowTriggers(namespace string) v1alpha1.WorkflowTriggerInterface
func (*FakeCycloneV1alpha1) Workflows ¶
func (c *FakeCycloneV1alpha1) Workflows(namespace string) v1alpha1.WorkflowInterface
type FakeExecutionClusters ¶ added in v0.9.6
type FakeExecutionClusters struct {
Fake *FakeCycloneV1alpha1
}
FakeExecutionClusters implements ExecutionClusterInterface
func (*FakeExecutionClusters) Create ¶ added in v0.9.6
func (c *FakeExecutionClusters) Create(executionCluster *v1alpha1.ExecutionCluster) (result *v1alpha1.ExecutionCluster, err error)
Create takes the representation of a executionCluster and creates it. Returns the server's representation of the executionCluster, and an error, if there is any.
func (*FakeExecutionClusters) Delete ¶ added in v0.9.6
func (c *FakeExecutionClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the executionCluster and deletes it. Returns an error if one occurs.
func (*FakeExecutionClusters) DeleteCollection ¶ added in v0.9.6
func (c *FakeExecutionClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExecutionClusters) Get ¶ added in v0.9.6
func (c *FakeExecutionClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.ExecutionCluster, err error)
Get takes name of the executionCluster, and returns the corresponding executionCluster object, and an error if there is any.
func (*FakeExecutionClusters) List ¶ added in v0.9.6
func (c *FakeExecutionClusters) List(opts v1.ListOptions) (result *v1alpha1.ExecutionClusterList, err error)
List takes label and field selectors, and returns the list of ExecutionClusters that match those selectors.
func (*FakeExecutionClusters) Patch ¶ added in v0.9.6
func (c *FakeExecutionClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ExecutionCluster, err error)
Patch applies the patch and returns the patched executionCluster.
func (*FakeExecutionClusters) Update ¶ added in v0.9.6
func (c *FakeExecutionClusters) Update(executionCluster *v1alpha1.ExecutionCluster) (result *v1alpha1.ExecutionCluster, err error)
Update takes the representation of a executionCluster and updates it. Returns the server's representation of the executionCluster, and an error, if there is any.
func (*FakeExecutionClusters) Watch ¶ added in v0.9.6
func (c *FakeExecutionClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested executionClusters.
type FakeProjects ¶ added in v0.9.3
type FakeProjects struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶ added in v0.9.3
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶ added in v0.9.3
func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶ added in v0.9.3
func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶ added in v0.9.3
func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *v1alpha1.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶ added in v0.9.3
func (c *FakeProjects) List(opts v1.ListOptions) (result *v1alpha1.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶ added in v0.9.3
func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶ added in v0.9.3
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Watch ¶ added in v0.9.3
func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
type FakeResources ¶
type FakeResources struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeResources implements ResourceInterface
func (*FakeResources) Create ¶
Create takes the representation of a resource and creates it. Returns the server's representation of the resource, and an error, if there is any.
func (*FakeResources) Delete ¶
func (c *FakeResources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the resource and deletes it. Returns an error if one occurs.
func (*FakeResources) DeleteCollection ¶
func (c *FakeResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResources) Get ¶
func (c *FakeResources) Get(name string, options v1.GetOptions) (result *v1alpha1.Resource, err error)
Get takes name of the resource, and returns the corresponding resource object, and an error if there is any.
func (*FakeResources) List ¶
func (c *FakeResources) List(opts v1.ListOptions) (result *v1alpha1.ResourceList, err error)
List takes label and field selectors, and returns the list of Resources that match those selectors.
func (*FakeResources) Patch ¶
func (c *FakeResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Resource, err error)
Patch applies the patch and returns the patched resource.
func (*FakeResources) Update ¶
Update takes the representation of a resource and updates it. Returns the server's representation of the resource, and an error, if there is any.
func (*FakeResources) Watch ¶
func (c *FakeResources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resources.
type FakeStages ¶
type FakeStages struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeStages implements StageInterface
func (*FakeStages) Create ¶
Create takes the representation of a stage and creates it. Returns the server's representation of the stage, and an error, if there is any.
func (*FakeStages) Delete ¶
func (c *FakeStages) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the stage and deletes it. Returns an error if one occurs.
func (*FakeStages) DeleteCollection ¶
func (c *FakeStages) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStages) Get ¶
func (c *FakeStages) Get(name string, options v1.GetOptions) (result *v1alpha1.Stage, err error)
Get takes name of the stage, and returns the corresponding stage object, and an error if there is any.
func (*FakeStages) List ¶
func (c *FakeStages) List(opts v1.ListOptions) (result *v1alpha1.StageList, err error)
List takes label and field selectors, and returns the list of Stages that match those selectors.
func (*FakeStages) Patch ¶
func (c *FakeStages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Stage, err error)
Patch applies the patch and returns the patched stage.
func (*FakeStages) Update ¶
Update takes the representation of a stage and updates it. Returns the server's representation of the stage, and an error, if there is any.
func (*FakeStages) Watch ¶
func (c *FakeStages) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stages.
type FakeWorkflowRuns ¶
type FakeWorkflowRuns struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeWorkflowRuns implements WorkflowRunInterface
func (*FakeWorkflowRuns) Create ¶
func (c *FakeWorkflowRuns) Create(workflowRun *v1alpha1.WorkflowRun) (result *v1alpha1.WorkflowRun, err error)
Create takes the representation of a workflowRun and creates it. Returns the server's representation of the workflowRun, and an error, if there is any.
func (*FakeWorkflowRuns) Delete ¶
func (c *FakeWorkflowRuns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the workflowRun and deletes it. Returns an error if one occurs.
func (*FakeWorkflowRuns) DeleteCollection ¶
func (c *FakeWorkflowRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkflowRuns) Get ¶
func (c *FakeWorkflowRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.WorkflowRun, err error)
Get takes name of the workflowRun, and returns the corresponding workflowRun object, and an error if there is any.
func (*FakeWorkflowRuns) List ¶
func (c *FakeWorkflowRuns) List(opts v1.ListOptions) (result *v1alpha1.WorkflowRunList, err error)
List takes label and field selectors, and returns the list of WorkflowRuns that match those selectors.
func (*FakeWorkflowRuns) Patch ¶
func (c *FakeWorkflowRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.WorkflowRun, err error)
Patch applies the patch and returns the patched workflowRun.
func (*FakeWorkflowRuns) Update ¶
func (c *FakeWorkflowRuns) Update(workflowRun *v1alpha1.WorkflowRun) (result *v1alpha1.WorkflowRun, err error)
Update takes the representation of a workflowRun and updates it. Returns the server's representation of the workflowRun, and an error, if there is any.
func (*FakeWorkflowRuns) UpdateStatus ¶
func (c *FakeWorkflowRuns) UpdateStatus(workflowRun *v1alpha1.WorkflowRun) (*v1alpha1.WorkflowRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkflowRuns) Watch ¶
func (c *FakeWorkflowRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workflowRuns.
type FakeWorkflowTriggers ¶
type FakeWorkflowTriggers struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeWorkflowTriggers implements WorkflowTriggerInterface
func (*FakeWorkflowTriggers) Create ¶
func (c *FakeWorkflowTriggers) Create(workflowTrigger *v1alpha1.WorkflowTrigger) (result *v1alpha1.WorkflowTrigger, err error)
Create takes the representation of a workflowTrigger and creates it. Returns the server's representation of the workflowTrigger, and an error, if there is any.
func (*FakeWorkflowTriggers) Delete ¶
func (c *FakeWorkflowTriggers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the workflowTrigger and deletes it. Returns an error if one occurs.
func (*FakeWorkflowTriggers) DeleteCollection ¶
func (c *FakeWorkflowTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkflowTriggers) Get ¶
func (c *FakeWorkflowTriggers) Get(name string, options v1.GetOptions) (result *v1alpha1.WorkflowTrigger, err error)
Get takes name of the workflowTrigger, and returns the corresponding workflowTrigger object, and an error if there is any.
func (*FakeWorkflowTriggers) List ¶
func (c *FakeWorkflowTriggers) List(opts v1.ListOptions) (result *v1alpha1.WorkflowTriggerList, err error)
List takes label and field selectors, and returns the list of WorkflowTriggers that match those selectors.
func (*FakeWorkflowTriggers) Patch ¶
func (c *FakeWorkflowTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.WorkflowTrigger, err error)
Patch applies the patch and returns the patched workflowTrigger.
func (*FakeWorkflowTriggers) Update ¶
func (c *FakeWorkflowTriggers) Update(workflowTrigger *v1alpha1.WorkflowTrigger) (result *v1alpha1.WorkflowTrigger, err error)
Update takes the representation of a workflowTrigger and updates it. Returns the server's representation of the workflowTrigger, and an error, if there is any.
func (*FakeWorkflowTriggers) UpdateStatus ¶
func (c *FakeWorkflowTriggers) UpdateStatus(workflowTrigger *v1alpha1.WorkflowTrigger) (*v1alpha1.WorkflowTrigger, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkflowTriggers) Watch ¶
func (c *FakeWorkflowTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workflowTriggers.
type FakeWorkflows ¶
type FakeWorkflows struct { Fake *FakeCycloneV1alpha1 // contains filtered or unexported fields }
FakeWorkflows implements WorkflowInterface
func (*FakeWorkflows) Create ¶
Create takes the representation of a workflow and creates it. Returns the server's representation of the workflow, and an error, if there is any.
func (*FakeWorkflows) Delete ¶
func (c *FakeWorkflows) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the workflow and deletes it. Returns an error if one occurs.
func (*FakeWorkflows) DeleteCollection ¶
func (c *FakeWorkflows) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkflows) Get ¶
func (c *FakeWorkflows) Get(name string, options v1.GetOptions) (result *v1alpha1.Workflow, err error)
Get takes name of the workflow, and returns the corresponding workflow object, and an error if there is any.
func (*FakeWorkflows) List ¶
func (c *FakeWorkflows) List(opts v1.ListOptions) (result *v1alpha1.WorkflowList, err error)
List takes label and field selectors, and returns the list of Workflows that match those selectors.
func (*FakeWorkflows) Patch ¶
func (c *FakeWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Workflow, err error)
Patch applies the patch and returns the patched workflow.
func (*FakeWorkflows) Update ¶
Update takes the representation of a workflow and updates it. Returns the server's representation of the workflow, and an error, if there is any.
func (*FakeWorkflows) Watch ¶
func (c *FakeWorkflows) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workflows.