v1

package
v0.0.0-...-4fc8c9b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 9 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 PipelineExpansion

type PipelineExpansion interface{}

type PipelineInterface

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

type PipelineRunExpansion interface{}

type PipelineRunInterface

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

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

type TaskRunExpansion interface{}

type TaskRunInterface

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

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

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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*TektonV1Client, error)

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

func (c *TektonV1Client) PipelineRuns(namespace string) PipelineRunInterface

func (*TektonV1Client) Pipelines

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

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
}

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