Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- 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 TektonV1Client
- func (c *TektonV1Client) PipelineRuns(namespace string) PipelineRunInterface
- func (c *TektonV1Client) Pipelines(namespace string) PipelineInterface
- func (c *TektonV1Client) RESTClient() rest.Interface
- func (c *TektonV1Client) TaskRuns(namespace string) TaskRunInterface
- func (c *TektonV1Client) Tasks(namespace string) TaskInterface
- type TektonV1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineExpansion ¶ added in v0.39.0
type PipelineExpansion interface{}
type PipelineInterface ¶ added in v0.39.0
type PipelineInterface interface { Create(ctx context.Context, pipeline *v1.Pipeline, opts metav1.CreateOptions) (*v1.Pipeline, error) Update(ctx context.Context, pipeline *v1.Pipeline, opts metav1.UpdateOptions) (*v1.Pipeline, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Pipeline, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PipelineList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Pipeline, err error) PipelineExpansion }
PipelineInterface has methods to work with Pipeline resources.
type PipelineRunExpansion ¶ added in v0.40.0
type PipelineRunExpansion interface{}
type PipelineRunInterface ¶ added in v0.40.0
type PipelineRunInterface interface { Create(ctx context.Context, pipelineRun *v1.PipelineRun, opts metav1.CreateOptions) (*v1.PipelineRun, error) Update(ctx context.Context, pipelineRun *v1.PipelineRun, opts metav1.UpdateOptions) (*v1.PipelineRun, error) UpdateStatus(ctx context.Context, pipelineRun *v1.PipelineRun, opts metav1.UpdateOptions) (*v1.PipelineRun, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PipelineRun, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PipelineRunList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PipelineRun, err error) PipelineRunExpansion }
PipelineRunInterface has methods to work with PipelineRun resources.
type PipelineRunsGetter ¶ added in v0.40.0
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 ¶ added in v0.39.0
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 *v1.Task, opts metav1.CreateOptions) (*v1.Task, error) Update(ctx context.Context, task *v1.Task, opts metav1.UpdateOptions) (*v1.Task, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Task, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.TaskList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Task, err error) TaskExpansion }
TaskInterface has methods to work with Task resources.
type TaskRunExpansion ¶ added in v0.40.0
type TaskRunExpansion interface{}
type TaskRunInterface ¶ added in v0.40.0
type TaskRunInterface interface { Create(ctx context.Context, taskRun *v1.TaskRun, opts metav1.CreateOptions) (*v1.TaskRun, error) Update(ctx context.Context, taskRun *v1.TaskRun, opts metav1.UpdateOptions) (*v1.TaskRun, error) UpdateStatus(ctx context.Context, taskRun *v1.TaskRun, opts metav1.UpdateOptions) (*v1.TaskRun, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.TaskRun, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.TaskRunList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TaskRun, err error) TaskRunExpansion }
TaskRunInterface has methods to work with TaskRun resources.
type TaskRunsGetter ¶ added in v0.40.0
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 TektonV1Client ¶
type TektonV1Client struct {
// contains filtered or unexported fields
}
TektonV1Client is used to interact with features provided by the tekton.dev group.
func New ¶
func New(c rest.Interface) *TektonV1Client
New creates a new TektonV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TektonV1Client, error)
NewForConfig creates a new TektonV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new TektonV1Client 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) *TektonV1Client
NewForConfigOrDie creates a new TektonV1Client for the given config and panics if there is an error in the config.
func (*TektonV1Client) PipelineRuns ¶ added in v0.40.0
func (c *TektonV1Client) PipelineRuns(namespace string) PipelineRunInterface
func (*TektonV1Client) Pipelines ¶ added in v0.39.0
func (c *TektonV1Client) Pipelines(namespace string) PipelineInterface
func (*TektonV1Client) RESTClient ¶
func (c *TektonV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TektonV1Client) TaskRuns ¶ added in v0.40.0
func (c *TektonV1Client) TaskRuns(namespace string) TaskRunInterface
func (*TektonV1Client) Tasks ¶
func (c *TektonV1Client) Tasks(namespace string) TaskInterface
type TektonV1Interface ¶
type TektonV1Interface interface { RESTClient() rest.Interface PipelinesGetter PipelineRunsGetter TasksGetter TaskRunsGetter }