Documentation ¶ Index ¶ func Validate(u *auth.User, t *pb.TriggerDeployment, d template.Template) error type Trigger type Type Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Validate ¶ func Validate(u *auth.User, t *pb.TriggerDeployment, d template.Template) error Validate takes a trigger call and validates it against a list of templated triggers Types ¶ type Trigger ¶ type Trigger struct { Name string Type Type User auth.User } Trigger is the way a deployment is started type Type ¶ type Type int Type represents the way a trigger is set off const ( // WebTrigger is a http call based trigger WebTrigger Type = 0 // ManualTrigger is a user calling a trigger ManualTrigger Type = 1 // DeploymentTrigger is one deployment triggering another DeploymentTrigger Type = 2 ) Source Files ¶ View all Source files trigger.go Click to show internal directories. Click to hide internal directories.