Documentation ¶
Index ¶
- func Create(c *cli.Clients, t *v1beta1.Task, opts metav1.CreateOptions, ns string) (*v1beta1.Task, error)
- func FilterByRef(taskruns []v1.TaskRun, kind string) []v1.TaskRun
- func Get(c *cli.Clients, taskname string, opts metav1.GetOptions, ns string) (*v1beta1.Task, error)
- func GetAllTaskNames(gr schema.GroupVersionResource, c *cli.Clients, ns string) ([]string, error)
- func LastRun(cs *cli.Clients, resourceName, ns, kind string) (*v1.TaskRun, error)
- func LastRunName(cs *cli.Clients, resourceName, ns, kind string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterByRef ¶
this will filter the taskrun which have reference to Task or ClusterTask
func Get ¶
TODO: remove as all the function uses are moved to new func Get will fetch the task resource based on the task name
func GetAllTaskNames ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.