Documentation ¶
Index ¶
- func Exist(clientset *client.ConfigSet, name string) bool
- type Task
- func (t *Task) Clone(clientset *client.ConfigSet, task *tekton.Task) (*tekton.Task, error)
- func (t *Task) CreateOrUpdate(task *tekton.Task, clientset *client.ConfigSet) (*tekton.Task, error)
- func (t *Task) Delete(clientset *client.ConfigSet) error
- func (t *Task) Deploy(clientset *client.ConfigSet) (*tekton.Task, error)
- func (t *Task) Get(clientset *client.ConfigSet) (*v1beta1.Task, error)
- func (t *Task) GetObject(task *v1beta1.Task) printer.Object
- func (t *Task) GetTable(list *v1beta1.TaskList) printer.Table
- func (t *Task) List(clientset *client.ConfigSet) (*v1beta1.TaskList, error)
- func (t *Task) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Task ¶
type Task struct { File string GenerateName string Name string Namespace string FromLocalSource bool }
Task represents tekton Task object
func (*Task) Clone ¶ added in v0.0.12
Clone installs a copy of provided tekton task object with generated name suffix
func (*Task) CreateOrUpdate ¶ added in v0.0.12
CreateOrUpdate creates new tekton Task object or updates existing one
func (*Task) Deploy ¶ added in v0.0.12
Deploy accepts path (local or URL) to tekton Task manifest and installs it
Click to show internal directories.
Click to hide internal directories.