Documentation
¶
Index ¶
- func ConvertFrom(tr *v1beta1.TaskRun) *v1alpha1.TaskRun
- func Create(c *cli.Clients, tr *v1beta1.TaskRun, opts metav1.CreateOptions, ns string) (*v1beta1.TaskRun, error)
- func Get(c *cli.Clients, trname string, opts metav1.GetOptions, ns string) (*v1beta1.TaskRun, error)
- func GetV1beta1(c *cli.Clients, trname string, opts metav1.GetOptions, ns string) (*v1beta1.TaskRun, error)
- func HasScheduled(trs *v1alpha1.PipelineRunTaskRunStatus) bool
- func IsFiltered(tr Run, allowed []string) bool
- func Patch(c *cli.Clients, trname string, opts metav1.PatchOptions, ns string) (*v1beta1.TaskRun, error)
- func Watch(c *cli.Clients, opts metav1.ListOptions, ns string) (watch.Interface, error)
- type Run
- type Runs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFrom ¶ added in v0.10.0
convert v1beta1 Taskrun to v1alpha1 Taskrun to support backward compatibility
func Get ¶
func Get(c *cli.Clients, trname string, opts metav1.GetOptions, ns string) (*v1beta1.TaskRun, error)
It will fetch the resource based on the api available and return v1beta1 form
func GetV1beta1 ¶
func GetV1beta1(c *cli.Clients, trname string, opts metav1.GetOptions, ns string) (*v1beta1.TaskRun, error)
It will fetch the resource in v1beta1 struct format
func HasScheduled ¶
func HasScheduled(trs *v1alpha1.PipelineRunTaskRunStatus) bool
func IsFiltered ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.