Documentation ¶
Index ¶
- Constants
- Variables
- func CreateCDPushTemplate(ns, saName string) triggersv1.TriggerTemplate
- func CreateCIDryRunTemplate(ns, saName string) triggersv1.TriggerTemplate
- func CreateDevCDDeployTemplate(ns, saName string) triggersv1.TriggerTemplate
- func CreateDevCIBuildPRTemplate(ns, saName string) triggersv1.TriggerTemplate
- func CreateImageRepoBinding(ns, bindingName, imageRepo, tlsVerify string) triggersv1.TriggerBinding
- func GenerateTemplates(ns, saName string) []triggersv1.TriggerTemplate
Constants ¶
View Source
const ( GitRef = "io.openshift.build.commit.ref" GitCommitID = "io.openshift.build.commit.id" GitCommitAuthor = "io.openshift.build.commit.author" GitCommitMessage = "io.openshift.build.commit.message" GitCommitDate = "io.openshift.build.commit.date" )
Variables ¶
View Source
var (
TriggerBindingTypeMeta = meta.TypeMeta("TriggerBinding", "triggers.tekton.dev/v1alpha1")
)
Functions ¶
func CreateCDPushTemplate ¶
func CreateCDPushTemplate(ns, saName string) triggersv1.TriggerTemplate
CreateCDPushTemplate returns TriggerTemplate for CD Push Request
func CreateCIDryRunTemplate ¶
func CreateCIDryRunTemplate(ns, saName string) triggersv1.TriggerTemplate
CreateCIDryRunTemplate returns TriggerTemplate for CI Dry Try
func CreateDevCDDeployTemplate ¶
func CreateDevCDDeployTemplate(ns, saName string) triggersv1.TriggerTemplate
CreateDevCDDeployTemplate creates DevCDDeployTemplate
func CreateDevCIBuildPRTemplate ¶
func CreateDevCIBuildPRTemplate(ns, saName string) triggersv1.TriggerTemplate
CreateDevCIBuildPRTemplate creates DevCIBuildPRTemplate
func CreateImageRepoBinding ¶
func CreateImageRepoBinding(ns, bindingName, imageRepo, tlsVerify string) triggersv1.TriggerBinding
CreateImageRepoBinding returns a TriggerBinding with the imageRepo.
func GenerateTemplates ¶
func GenerateTemplates(ns, saName string) []triggersv1.TriggerTemplate
GenerateTemplates will return a slice of trigger templates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.