Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Resource
 - type Source
 - type TaskRun
 - func (tr *TaskRun) Delete(clientset *client.ConfigSet) error
 - func (tr *TaskRun) Deploy(clientset *client.ConfigSet) (string, error)
 - func (tr *TaskRun) Get(clientset *client.ConfigSet) (*v1beta1.TaskRun, error)
 - func (tr *TaskRun) GetObject(taskrun *v1beta1.TaskRun) printer.Object
 - func (tr *TaskRun) GetTable(list *v1beta1.TaskRunList) printer.Table
 - func (tr *TaskRun) List(clientset *client.ConfigSet) (*v1beta1.TaskRunList, error)
 - func (tr *TaskRun) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶ added in v0.0.12
Source contains path (local or URL) to function sources. May contain revision if path is Git repository.
type TaskRun ¶
type TaskRun struct {
	Function         Source
	Name             string
	Namespace        string
	Params           []string
	PipelineResource Resource
	Task             Resource
	Timeout          string
	Wait             bool
}
    TaskRun represents tekton TaskRun object
func (*TaskRun) Deploy ¶
Deploy prepares and verifies tekton resources (Task and PipelineResource) required for TaskRun, creates TaskRun object and optionally waits for its result. Deploy function returns resulting image URL and build error.
func (*TaskRun) GetTable ¶ added in v0.1.1
func (tr *TaskRun) GetTable(list *v1beta1.TaskRunList) printer.Table
GetTable converts k8s list instance into printable object
 Click to show internal directories. 
   Click to hide internal directories.