Documentation ¶
Index ¶
- func ConvertToTekton(mp *v1alpha1.MksPipeline) *v1beta1.Pipeline
- func Create(cl *tconfig.Client, mp *v1alpha1.MksPipeline, opt metav1.CreateOptions, ...) (*v1beta1.Pipeline, error)
- func Delete(cl *tconfig.Client, opt metav1.DeleteOptions, mpName 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(mp *v1alpha1.MksPipeline) *v1beta1.Pipeline
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, mp *v1alpha1.MksPipeline, opt metav1.CreateOptions, ns string) (*v1beta1.Pipeline, 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, mksPipelineInformer appsinformers.MksPipelineInformer, 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.