Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterTaskExpansion
- type ClusterTaskInterface
- type ClusterTasksGetter
- type CustomRunExpansion
- type CustomRunInterface
- type CustomRunsGetter
- type PipelineExpansion
- type PipelineInterface
- type PipelineRunExpansion
- type PipelineRunInterface
- type PipelineRunsGetter
- type PipelinesGetter
- type TaskExpansion
- type TaskInterface
- type TaskRunExpansion
- type TaskRunInterface
- type TaskRunsGetter
- type TasksGetter
- type TektonV1beta1Client
- func (c *TektonV1beta1Client) ClusterTasks() ClusterTaskInterface
- func (c *TektonV1beta1Client) CustomRuns(namespace string) CustomRunInterface
- func (c *TektonV1beta1Client) PipelineRuns(namespace string) PipelineRunInterface
- func (c *TektonV1beta1Client) Pipelines(namespace string) PipelineInterface
- func (c *TektonV1beta1Client) RESTClient() rest.Interface
- func (c *TektonV1beta1Client) TaskRuns(namespace string) TaskRunInterface
- func (c *TektonV1beta1Client) Tasks(namespace string) TaskInterface
- type TektonV1beta1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterTaskExpansion ¶
type ClusterTaskExpansion interface{}
type ClusterTaskInterface ¶
type ClusterTaskInterface interface { Create(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.CreateOptions) (*v1beta1.ClusterTask, error) Update(ctx context.Context, clusterTask *v1beta1.ClusterTask, opts v1.UpdateOptions) (*v1beta1.ClusterTask, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ClusterTask, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ClusterTaskList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ClusterTask, err error) ClusterTaskExpansion }
ClusterTaskInterface has methods to work with ClusterTask resources.
type ClusterTasksGetter ¶
type ClusterTasksGetter interface {
ClusterTasks() ClusterTaskInterface
}
ClusterTasksGetter has a method to return a ClusterTaskInterface. A group's client should implement this interface.
type CustomRunExpansion ¶ added in v0.40.0
type CustomRunExpansion interface{}
type CustomRunInterface ¶ added in v0.40.0
type CustomRunInterface interface { Create(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.CreateOptions) (*v1beta1.CustomRun, error) Update(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (*v1beta1.CustomRun, error) UpdateStatus(ctx context.Context, customRun *v1beta1.CustomRun, opts v1.UpdateOptions) (*v1beta1.CustomRun, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CustomRun, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CustomRunList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CustomRun, err error) CustomRunExpansion }
CustomRunInterface has methods to work with CustomRun resources.
type CustomRunsGetter ¶ added in v0.40.0
type CustomRunsGetter interface {
CustomRuns(namespace string) CustomRunInterface
}
CustomRunsGetter has a method to return a CustomRunInterface. A group's client should implement this interface.
type PipelineExpansion ¶
type PipelineExpansion interface{}
type PipelineInterface ¶
type PipelineInterface interface { Create(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.CreateOptions) (*v1beta1.Pipeline, error) Update(ctx context.Context, pipeline *v1beta1.Pipeline, opts v1.UpdateOptions) (*v1beta1.Pipeline, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Pipeline, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PipelineList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Pipeline, err error) PipelineExpansion }
PipelineInterface has methods to work with Pipeline resources.
type PipelineRunExpansion ¶
type PipelineRunExpansion interface{}
type PipelineRunInterface ¶
type PipelineRunInterface interface { Create(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.CreateOptions) (*v1beta1.PipelineRun, error) Update(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (*v1beta1.PipelineRun, error) UpdateStatus(ctx context.Context, pipelineRun *v1beta1.PipelineRun, opts v1.UpdateOptions) (*v1beta1.PipelineRun, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PipelineRun, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PipelineRunList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PipelineRun, err error) PipelineRunExpansion }
PipelineRunInterface has methods to work with PipelineRun resources.
type PipelineRunsGetter ¶
type PipelineRunsGetter interface {
PipelineRuns(namespace string) PipelineRunInterface
}
PipelineRunsGetter has a method to return a PipelineRunInterface. A group's client should implement this interface.
type PipelinesGetter ¶
type PipelinesGetter interface {
Pipelines(namespace string) PipelineInterface
}
PipelinesGetter has a method to return a PipelineInterface. A group's client should implement this interface.
type TaskExpansion ¶
type TaskExpansion interface{}
type TaskInterface ¶
type TaskInterface interface { Create(ctx context.Context, task *v1beta1.Task, opts v1.CreateOptions) (*v1beta1.Task, error) Update(ctx context.Context, task *v1beta1.Task, opts v1.UpdateOptions) (*v1beta1.Task, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Task, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.TaskList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Task, err error) TaskExpansion }
TaskInterface has methods to work with Task resources.
type TaskRunExpansion ¶
type TaskRunExpansion interface{}
type TaskRunInterface ¶
type TaskRunInterface interface { Create(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.CreateOptions) (*v1beta1.TaskRun, error) Update(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (*v1beta1.TaskRun, error) UpdateStatus(ctx context.Context, taskRun *v1beta1.TaskRun, opts v1.UpdateOptions) (*v1beta1.TaskRun, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.TaskRun, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.TaskRunList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.TaskRun, err error) TaskRunExpansion }
TaskRunInterface has methods to work with TaskRun resources.
type TaskRunsGetter ¶
type TaskRunsGetter interface {
TaskRuns(namespace string) TaskRunInterface
}
TaskRunsGetter has a method to return a TaskRunInterface. A group's client should implement this interface.
type TasksGetter ¶
type TasksGetter interface {
Tasks(namespace string) TaskInterface
}
TasksGetter has a method to return a TaskInterface. A group's client should implement this interface.
type TektonV1beta1Client ¶
type TektonV1beta1Client struct {
// contains filtered or unexported fields
}
TektonV1beta1Client is used to interact with features provided by the tekton.dev group.
func New ¶
func New(c rest.Interface) *TektonV1beta1Client
New creates a new TektonV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TektonV1beta1Client, error)
NewForConfig creates a new TektonV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.35.0
NewForConfigAndClient creates a new TektonV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TektonV1beta1Client
NewForConfigOrDie creates a new TektonV1beta1Client for the given config and panics if there is an error in the config.
func (*TektonV1beta1Client) ClusterTasks ¶
func (c *TektonV1beta1Client) ClusterTasks() ClusterTaskInterface
func (*TektonV1beta1Client) CustomRuns ¶ added in v0.40.0
func (c *TektonV1beta1Client) CustomRuns(namespace string) CustomRunInterface
func (*TektonV1beta1Client) PipelineRuns ¶
func (c *TektonV1beta1Client) PipelineRuns(namespace string) PipelineRunInterface
func (*TektonV1beta1Client) Pipelines ¶
func (c *TektonV1beta1Client) Pipelines(namespace string) PipelineInterface
func (*TektonV1beta1Client) RESTClient ¶
func (c *TektonV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TektonV1beta1Client) TaskRuns ¶
func (c *TektonV1beta1Client) TaskRuns(namespace string) TaskRunInterface
func (*TektonV1beta1Client) Tasks ¶
func (c *TektonV1beta1Client) Tasks(namespace string) TaskInterface
type TektonV1beta1Interface ¶
type TektonV1beta1Interface interface { RESTClient() rest.Interface ClusterTasksGetter CustomRunsGetter PipelinesGetter PipelineRunsGetter TasksGetter TaskRunsGetter }