v1beta1

package
Version: v0.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

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 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

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.

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) 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

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL