clustertask

package
v1.21.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist

func Exist(clientset *client.ConfigSet, name string) bool

Exist returns true if ClusterTask with provided name is available

Types

type ClusterTask

type ClusterTask struct {
	Name string
}

ClusterTask represents tekton ClusterTask object

func (*ClusterTask) Get

func (ct *ClusterTask) Get(clientset *client.ConfigSet) (*v1beta1.ClusterTask, error)

Get returns tekton ClusterTask object by its name

func (*ClusterTask) List

func (ct *ClusterTask) List(clientset *client.ConfigSet) (*v1beta1.ClusterTaskList, error)

List return tekton ClusterTaskList object

Jump to

Keyboard shortcuts

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