triggers

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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