pipelineresource

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	URL      string
	Revision string
}

type PipelineResource

type PipelineResource struct {
	Name      string
	Namespace string
	Source    Git
}

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

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

GetTable converts k8s list instance into printable object

func (*PipelineResource) List

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

Jump to

Keyboard shortcuts

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