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 is a label representing the source-ref for this build. GitRef = "io.openshift.build.commit.ref" // GitCommitID is a label representing the commit SHA for this build. GitCommitID = "io.openshift.build.commit.id" // GitCommitAuthor is a label representing the commit author for this build. GitCommitAuthor = "io.openshift.build.commit.author" // GitCommitMessage is a label representing the commit message for this // build. GitCommitMessage = "io.openshift.build.commit.message" // GitCommitDate is a label representing the commit timestamp for this // build. GitCommitDate = "io.openshift.build.commit.date" )
Variables ¶
View Source
var ( // TriggerBindingTypeMeta is the TypeMeta for v1alpha1 of the Triggers API. 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.