Documentation ¶
Index ¶
- type Git
- type PipelineResource
- func (plr *PipelineResource) Delete(clientset *client.ConfigSet) error
- func (plr *PipelineResource) Deploy(clientset *client.ConfigSet) (*v1alpha1.PipelineResource, error)
- func (plr *PipelineResource) Get(clientset *client.ConfigSet) (*v1alpha1.PipelineResource, error)
- func (plr *PipelineResource) GetObject(service *v1alpha1.PipelineResource) printer.Object
- func (plr *PipelineResource) GetTable(list *v1alpha1.PipelineResourceList) printer.Table
- func (plr *PipelineResource) List(clientset *client.ConfigSet) (*v1alpha1.PipelineResourceList, error)
- func (plr *PipelineResource) 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 PipelineResource ¶
Pipeline represents tekton Pipeline object
func (*PipelineResource) Delete ¶
func (plr *PipelineResource) Delete(clientset *client.ConfigSet) error
func (*PipelineResource) Deploy ¶
func (plr *PipelineResource) Deploy(clientset *client.ConfigSet) (*v1alpha1.PipelineResource, error)
Deploy creates tekton PipelineResource with provided git URL
func (*PipelineResource) Get ¶
func (plr *PipelineResource) Get(clientset *client.ConfigSet) (*v1alpha1.PipelineResource, error)
Get returns k8s object
func (*PipelineResource) GetObject ¶ added in v0.1.1
func (plr *PipelineResource) GetObject(service *v1alpha1.PipelineResource) printer.Object
GetObject converts k8s object into printable structure
func (*PipelineResource) GetTable ¶ added in v0.1.1
func (plr *PipelineResource) GetTable(list *v1alpha1.PipelineResourceList) printer.Table
GetTable converts k8s list instance into printable object
func (*PipelineResource) List ¶
func (plr *PipelineResource) List(clientset *client.ConfigSet) (*v1alpha1.PipelineResourceList, error)
List returns k8s list object
func (*PipelineResource) SetOwner ¶ added in v0.0.12
func (plr *PipelineResource) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error
SetOwner updates PipelineResource object with provided owner reference
Click to show internal directories.
Click to hide internal directories.