Documentation ¶
Index ¶
Constants ¶
View Source
const MR_COMMENT_FORMAT = `
### Terraform Cloud
%s
`
View Source
const MR_RUN_DETAILS_FORMAT = `
#### Workspace: %s
**Status**: %s
[%s](%s)
%s
---
`
View Source
const ORG_NAME = "foo-corp"
View Source
const RUN_MESSAGE_PREFIX = "GitLab CI Scheduled"
View Source
const RunInfo = "%s:\n ID: %s Status: %-12s Source: %-20s Commit Message: %s URL: https://app.terraform.io/app/zapier/workspaces/%s/runs/%s \n"
View Source
const TFC_NO_CHANGE = "Run not triggered: Terraform working directories did not change."
View Source
const TFC_POLICY_STATUS_PREFIX = `sentinel/`
View Source
const TFC_RUN_STATUS_PREFIX = `Terraform Cloud/`
Variables ¶
This section is empty.
Functions ¶
func LockUnlockWorkspace ¶
func MonitorRunStatus ¶
func MonitorRunStatus()
func StartScheduledRun ¶
func StartScheduledRun(token, workspace string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.