Documentation
¶
Index ¶
- func Cancel(c *cli.Clients, prname string, opts metav1.PatchOptions, ...) (*v1beta1.PipelineRun, error)
- func Create(c *cli.Clients, pr *v1beta1.PipelineRun, opts metav1.CreateOptions, ns string) (*v1beta1.PipelineRun, error)
- func Get(c *cli.Clients, prname string, opts metav1.GetOptions, ns string) (*v1beta1.PipelineRun, error)
- func GetAllPipelineRuns(p cli.Params, opts metav1.ListOptions, limit int) ([]string, error)
- func List(c *cli.Clients, opts metav1.ListOptions, ns string) (*v1beta1.PipelineRunList, error)
- func Watch(c *cli.Clients, opts metav1.ListOptions, ns string) (watch.Interface, error)
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶ added in v0.20.0
func Cancel(c *cli.Clients, prname string, opts metav1.PatchOptions, cancelStatus, ns string) (*v1beta1.PipelineRun, error)
func Create ¶
func Create(c *cli.Clients, pr *v1beta1.PipelineRun, opts metav1.CreateOptions, ns string) (*v1beta1.PipelineRun, error)
It will create the resource based on the api available.
func Get ¶
func Get(c *cli.Clients, prname string, opts metav1.GetOptions, ns string) (*v1beta1.PipelineRun, error)
It will fetch the resource in v1beta1 struct format
func GetAllPipelineRuns ¶
GetAllPipelineRuns returns all pipelinesruns running in a namespace
func List ¶
func List(c *cli.Clients, opts metav1.ListOptions, ns string) (*v1beta1.PipelineRunList, error)
Types ¶
type Tracker ¶
type Tracker struct { Name string Ns string Tekton versioned.Interface // contains filtered or unexported fields }
Tracker tracks the progress of a PipelineRun
func NewTracker ¶
NewTracker returns a new instance of Tracker
Click to show internal directories.
Click to hide internal directories.