mkspipelinerun

package
v0.0.0-...-c054a23 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToTekton

func ConvertToTekton(mpr *v1alpha1.MksPipelineRun) *prbeta.PipelineRun

ConvertToTekton converts a mksresource into corresponding Tekton resource definition using field to field copy from mks object to tekton object.

func Create

Create takes a mksresource object, converts it to tekton resource object using ConvertToTekton function and then calls the Create fucntion defined in the actions package to create resource on Kubernetes/OpenShift cluster using Tekton API.

func Delete

func Delete(cl *tconfig.Client, opt metav1.DeleteOptions, mprName string, ns string) error

func NewController

func NewController(kubectlst kubernetes.Interface, clientset clientset.Interface, mksPipelineRunInformer appsinformers.MksPipelineRunInformer, redisClient *redis.Client) *controller

Creates a new controller and returns

Types

This section is empty.

Jump to

Keyboard shortcuts

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