Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentVariable ¶
type EnvironmentVariable struct { Name string `json:"name"` Type string `json:"type"` Value string `json:"value"` }
EnvironmentVariable is the implementation of the TowerAPI EnvironmentVariable schema
type Event ¶
type Event struct { Repository string `json:"repository"` Branch string `json:"branch"` Operation string `json:"operation"` InfrastructureRepoURL string `json:"infrastructureRepoUrl"` CodeBuildRoleARN string `json:"codeBuildRoleARN"` EnvironmentVariables []EnvironmentVariable `json:"environmentVariables"` Success int `json:"success"` ShutdownSchedules []TimeSchedule `json:"shutdownSchedules"` StartupSchedules []TimeSchedule `json:"startupSchedules"` }
Event contains the event body used in the invokation of the Lambda
type Phases ¶
type Phases struct {
Build Build
}
Phases struct represents the phases block of the CodeBuild buildspec
type SingleComponentVersion ¶
type SingleComponentVersion struct { Name string `json:"name"` Version string `json:"version"` CommitHash string `json:"commitHash"` Branch string `json:"branch"` BuildTime string `json:"buildTime"` }
SingleComponentVersion is the implementation of the TowerAPI SingleComponentVersion schema
type Status ¶
type Status struct {
Status string `json:"status"`
}
Status struct contains the Environment status
type StatusUpdate ¶
type StatusUpdate struct {
Status string `json:":status"`
}
StatusUpdate struct is used for DynamoDB updates, because the update command requires all json keys to start with ":"
type TimeSchedule ¶
type TimeSchedule struct {
Cron string `json:"cron"`
}
TimeSchedule is the implementation of the TowerAPI TimeSchedule schema
Click to show internal directories.
Click to hide internal directories.