Documentation ¶
Index ¶
- func ConvertToTekton(mpr *v1alpha1.MksPipelineRun) *prbeta.PipelineRun
- func Create(cl *tconfig.Client, mpr *v1alpha1.MksPipelineRun, opt metav1.CreateOptions, ...) (*prbeta.PipelineRun, error)
- func Delete(cl *tconfig.Client, opt metav1.DeleteOptions, mprName string, ns string) error
- func NewController(kubectlst kubernetes.Interface, clientset clientset.Interface, ...) *controller
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 ¶
func Create(cl *tconfig.Client, mpr *v1alpha1.MksPipelineRun, opt metav1.CreateOptions, ns string) (*prbeta.PipelineRun, error)
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 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.
Click to show internal directories.
Click to hide internal directories.