Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterTasks
- func (c *FakeClusterTasks) Create(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.CreateOptions) (result *v1beta1.ClusterTask, err error)
- func (c *FakeClusterTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ClusterTask, err error)
- func (c *FakeClusterTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ClusterTaskList, err error)
- func (c *FakeClusterTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ClusterTask, err error)
- func (c *FakeClusterTasks) Update(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.UpdateOptions) (result *v1beta1.ClusterTask, err error)
- func (c *FakeClusterTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomRuns
- func (c *FakeCustomRuns) Create(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.CreateOptions) (result *v1beta1.CustomRun, err error)
- func (c *FakeCustomRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CustomRun, err error)
- func (c *FakeCustomRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CustomRunList, err error)
- func (c *FakeCustomRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.CustomRun, err error)
- func (c *FakeCustomRuns) Update(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (result *v1beta1.CustomRun, err error)
- func (c *FakeCustomRuns) UpdateStatus(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (*v1beta1.CustomRun, error)
- func (c *FakeCustomRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePipelineRuns
- func (c *FakePipelineRuns) Create(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.CreateOptions) (result *v1beta1.PipelineRun, err error)
- func (c *FakePipelineRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePipelineRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePipelineRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PipelineRun, err error)
- func (c *FakePipelineRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PipelineRunList, err error)
- func (c *FakePipelineRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.PipelineRun, err error)
- func (c *FakePipelineRuns) Update(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (result *v1beta1.PipelineRun, err error)
- func (c *FakePipelineRuns) UpdateStatus(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (*v1beta1.PipelineRun, error)
- func (c *FakePipelineRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePipelines
- func (c *FakePipelines) Create(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.CreateOptions) (result *v1beta1.Pipeline, err error)
- func (c *FakePipelines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePipelines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePipelines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Pipeline, err error)
- func (c *FakePipelines) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PipelineList, err error)
- func (c *FakePipelines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Pipeline, err error)
- func (c *FakePipelines) Update(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.UpdateOptions) (result *v1beta1.Pipeline, err error)
- func (c *FakePipelines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTaskRuns
- func (c *FakeTaskRuns) Create(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.CreateOptions) (result *v1beta1.TaskRun, err error)
- func (c *FakeTaskRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTaskRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTaskRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TaskRun, err error)
- func (c *FakeTaskRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskRunList, err error)
- func (c *FakeTaskRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.TaskRun, err error)
- func (c *FakeTaskRuns) Update(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (result *v1beta1.TaskRun, err error)
- func (c *FakeTaskRuns) UpdateStatus(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (*v1beta1.TaskRun, error)
- func (c *FakeTaskRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTasks
- func (c *FakeTasks) Create(ctx context.Context, task *v1beta1.Task, opts v1.CreateOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskList, err error)
- func (c *FakeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Task, err error)
- func (c *FakeTasks) Update(ctx context.Context, task *v1beta1.Task, opts v1.UpdateOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTektonV1beta1
- func (c *FakeTektonV1beta1) ClusterTasks() v1beta1.ClusterTaskInterface
- func (c *FakeTektonV1beta1) CustomRuns(namespace string) v1beta1.CustomRunInterface
- func (c *FakeTektonV1beta1) PipelineRuns(namespace string) v1beta1.PipelineRunInterface
- func (c *FakeTektonV1beta1) Pipelines(namespace string) v1beta1.PipelineInterface
- func (c *FakeTektonV1beta1) RESTClient() rest.Interface
- func (c *FakeTektonV1beta1) TaskRuns(namespace string) v1beta1.TaskRunInterface
- func (c *FakeTektonV1beta1) Tasks(namespace string) v1beta1.TaskInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterTasks ¶
type FakeClusterTasks struct {
Fake *FakeTektonV1beta1
}
FakeClusterTasks implements ClusterTaskInterface
func (*FakeClusterTasks) Create ¶
func (c *FakeClusterTasks) Create(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.CreateOptions) (result *v1beta1.ClusterTask, err error)
Create takes the representation of a clusterTask and creates it. Returns the server's representation of the clusterTask, and an error, if there is any.
func (*FakeClusterTasks) Delete ¶
func (c *FakeClusterTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterTask and deletes it. Returns an error if one occurs.
func (*FakeClusterTasks) DeleteCollection ¶
func (c *FakeClusterTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTasks) Get ¶
func (c *FakeClusterTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ClusterTask, err error)
Get takes name of the clusterTask, and returns the corresponding clusterTask object, and an error if there is any.
func (*FakeClusterTasks) List ¶
func (c *FakeClusterTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ClusterTaskList, err error)
List takes label and field selectors, and returns the list of ClusterTasks that match those selectors.
func (*FakeClusterTasks) Patch ¶
func (c *FakeClusterTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ClusterTask, err error)
Patch applies the patch and returns the patched clusterTask.
func (*FakeClusterTasks) Update ¶
func (c *FakeClusterTasks) Update(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.UpdateOptions) (result *v1beta1.ClusterTask, err error)
Update takes the representation of a clusterTask and updates it. Returns the server's representation of the clusterTask, and an error, if there is any.
func (*FakeClusterTasks) Watch ¶
func (c *FakeClusterTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTasks.
type FakeCustomRuns ¶ added in v0.22.0
type FakeCustomRuns struct { Fake *FakeTektonV1beta1 // contains filtered or unexported fields }
FakeCustomRuns implements CustomRunInterface
func (*FakeCustomRuns) Create ¶ added in v0.22.0
func (c *FakeCustomRuns) Create(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.CreateOptions) (result *v1beta1.CustomRun, err error)
Create takes the representation of a customRun and creates it. Returns the server's representation of the customRun, and an error, if there is any.
func (*FakeCustomRuns) Delete ¶ added in v0.22.0
func (c *FakeCustomRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customRun and deletes it. Returns an error if one occurs.
func (*FakeCustomRuns) DeleteCollection ¶ added in v0.22.0
func (c *FakeCustomRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomRuns) Get ¶ added in v0.22.0
func (c *FakeCustomRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CustomRun, err error)
Get takes name of the customRun, and returns the corresponding customRun object, and an error if there is any.
func (*FakeCustomRuns) List ¶ added in v0.22.0
func (c *FakeCustomRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CustomRunList, err error)
List takes label and field selectors, and returns the list of CustomRuns that match those selectors.
func (*FakeCustomRuns) Patch ¶ added in v0.22.0
func (c *FakeCustomRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CustomRun, err error)
Patch applies the patch and returns the patched customRun.
func (*FakeCustomRuns) Update ¶ added in v0.22.0
func (c *FakeCustomRuns) Update(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (result *v1beta1.CustomRun, err error)
Update takes the representation of a customRun and updates it. Returns the server's representation of the customRun, and an error, if there is any.
func (*FakeCustomRuns) UpdateStatus ¶ added in v0.22.0
func (c *FakeCustomRuns) UpdateStatus(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (*v1beta1.CustomRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCustomRuns) Watch ¶ added in v0.22.0
func (c *FakeCustomRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customRuns.
type FakePipelineRuns ¶
type FakePipelineRuns struct { Fake *FakeTektonV1beta1 // contains filtered or unexported fields }
FakePipelineRuns implements PipelineRunInterface
func (*FakePipelineRuns) Create ¶
func (c *FakePipelineRuns) Create(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.CreateOptions) (result *v1beta1.PipelineRun, err error)
Create takes the representation of a pipelineRun and creates it. Returns the server's representation of the pipelineRun, and an error, if there is any.
func (*FakePipelineRuns) Delete ¶
func (c *FakePipelineRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pipelineRun and deletes it. Returns an error if one occurs.
func (*FakePipelineRuns) DeleteCollection ¶
func (c *FakePipelineRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineRuns) Get ¶
func (c *FakePipelineRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PipelineRun, err error)
Get takes name of the pipelineRun, and returns the corresponding pipelineRun object, and an error if there is any.
func (*FakePipelineRuns) List ¶
func (c *FakePipelineRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PipelineRunList, err error)
List takes label and field selectors, and returns the list of PipelineRuns that match those selectors.
func (*FakePipelineRuns) Patch ¶
func (c *FakePipelineRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PipelineRun, err error)
Patch applies the patch and returns the patched pipelineRun.
func (*FakePipelineRuns) Update ¶
func (c *FakePipelineRuns) Update(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (result *v1beta1.PipelineRun, err error)
Update takes the representation of a pipelineRun and updates it. Returns the server's representation of the pipelineRun, and an error, if there is any.
func (*FakePipelineRuns) UpdateStatus ¶
func (c *FakePipelineRuns) UpdateStatus(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (*v1beta1.PipelineRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePipelineRuns) Watch ¶
func (c *FakePipelineRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineRuns.
type FakePipelines ¶
type FakePipelines struct { Fake *FakeTektonV1beta1 // contains filtered or unexported fields }
FakePipelines implements PipelineInterface
func (*FakePipelines) Create ¶
func (c *FakePipelines) Create(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.CreateOptions) (result *v1beta1.Pipeline, err error)
Create takes the representation of a pipeline and creates it. Returns the server's representation of the pipeline, and an error, if there is any.
func (*FakePipelines) Delete ¶
func (c *FakePipelines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pipeline and deletes it. Returns an error if one occurs.
func (*FakePipelines) DeleteCollection ¶
func (c *FakePipelines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelines) Get ¶
func (c *FakePipelines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Pipeline, err error)
Get takes name of the pipeline, and returns the corresponding pipeline object, and an error if there is any.
func (*FakePipelines) List ¶
func (c *FakePipelines) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PipelineList, err error)
List takes label and field selectors, and returns the list of Pipelines that match those selectors.
func (*FakePipelines) Patch ¶
func (c *FakePipelines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Pipeline, err error)
Patch applies the patch and returns the patched pipeline.
func (*FakePipelines) Update ¶
func (c *FakePipelines) Update(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.UpdateOptions) (result *v1beta1.Pipeline, err error)
Update takes the representation of a pipeline and updates it. Returns the server's representation of the pipeline, and an error, if there is any.
func (*FakePipelines) Watch ¶
func (c *FakePipelines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelines.
type FakeTaskRuns ¶
type FakeTaskRuns struct { Fake *FakeTektonV1beta1 // contains filtered or unexported fields }
FakeTaskRuns implements TaskRunInterface
func (*FakeTaskRuns) Create ¶
func (c *FakeTaskRuns) Create(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.CreateOptions) (result *v1beta1.TaskRun, err error)
Create takes the representation of a taskRun and creates it. Returns the server's representation of the taskRun, and an error, if there is any.
func (*FakeTaskRuns) Delete ¶
func (c *FakeTaskRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the taskRun and deletes it. Returns an error if one occurs.
func (*FakeTaskRuns) DeleteCollection ¶
func (c *FakeTaskRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTaskRuns) Get ¶
func (c *FakeTaskRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TaskRun, err error)
Get takes name of the taskRun, and returns the corresponding taskRun object, and an error if there is any.
func (*FakeTaskRuns) List ¶
func (c *FakeTaskRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskRunList, err error)
List takes label and field selectors, and returns the list of TaskRuns that match those selectors.
func (*FakeTaskRuns) Patch ¶
func (c *FakeTaskRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.TaskRun, err error)
Patch applies the patch and returns the patched taskRun.
func (*FakeTaskRuns) Update ¶
func (c *FakeTaskRuns) Update(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (result *v1beta1.TaskRun, err error)
Update takes the representation of a taskRun and updates it. Returns the server's representation of the taskRun, and an error, if there is any.
func (*FakeTaskRuns) UpdateStatus ¶
func (c *FakeTaskRuns) UpdateStatus(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (*v1beta1.TaskRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTaskRuns) Watch ¶
func (c *FakeTaskRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested taskRuns.
type FakeTasks ¶
type FakeTasks struct { Fake *FakeTektonV1beta1 // contains filtered or unexported fields }
FakeTasks implements TaskInterface
func (*FakeTasks) Create ¶
func (c *FakeTasks) Create(ctx context.Context, task *v1beta1.Task, opts v1.CreateOptions) (result *v1beta1.Task, err error)
Create takes the representation of a task and creates it. Returns the server's representation of the task, and an error, if there is any.
func (*FakeTasks) Delete ¶
Delete takes name of the task and deletes it. Returns an error if one occurs.
func (*FakeTasks) DeleteCollection ¶
func (c *FakeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTasks) Get ¶
func (c *FakeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Task, err error)
Get takes name of the task, and returns the corresponding task object, and an error if there is any.
func (*FakeTasks) List ¶
func (c *FakeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskList, err error)
List takes label and field selectors, and returns the list of Tasks that match those selectors.
func (*FakeTasks) Patch ¶
func (c *FakeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Task, err error)
Patch applies the patch and returns the patched task.
type FakeTektonV1beta1 ¶
func (*FakeTektonV1beta1) ClusterTasks ¶
func (c *FakeTektonV1beta1) ClusterTasks() v1beta1.ClusterTaskInterface
func (*FakeTektonV1beta1) CustomRuns ¶ added in v0.22.0
func (c *FakeTektonV1beta1) CustomRuns(namespace string) v1beta1.CustomRunInterface
func (*FakeTektonV1beta1) PipelineRuns ¶
func (c *FakeTektonV1beta1) PipelineRuns(namespace string) v1beta1.PipelineRunInterface
func (*FakeTektonV1beta1) Pipelines ¶
func (c *FakeTektonV1beta1) Pipelines(namespace string) v1beta1.PipelineInterface
func (*FakeTektonV1beta1) RESTClient ¶
func (c *FakeTektonV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTektonV1beta1) TaskRuns ¶
func (c *FakeTektonV1beta1) TaskRuns(namespace string) v1beta1.TaskRunInterface
func (*FakeTektonV1beta1) Tasks ¶
func (c *FakeTektonV1beta1) Tasks(namespace string) v1beta1.TaskInterface