Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeBuildEvent ¶
type CodeBuildEvent struct {
events.CodeBuildEvent
// CodeBuildEvent type has key `detail-type` but actual SNS message has key `detailType`.
// Here we use `detailType`.
DetailType string `json:"detailType"`
Detail CodeBuildEventDetail `json:"detail"`
}
func ParseCodeBuildEvent ¶
func ParseCodeBuildEvent(m string) (CodeBuildEvent, error)
func (CodeBuildEvent) GetCommitSHA ¶
func (e CodeBuildEvent) GetCommitSHA() string
func (CodeBuildEvent) GetEnvironmentVariable ¶
func (e CodeBuildEvent) GetEnvironmentVariable(key string) string
type CodeBuildEventAdditionalInformation ¶
type CodeBuildEventAdditionalInformation struct {
events.CodeBuildEventAdditionalInformation
// actual SNS message has key source-version
SourceVersion string `json:"source-version"`
}
type CodeBuildEventDetail ¶
type CodeBuildEventDetail struct {
events.CodeBuildEventDetail
AdditionalInformation CodeBuildEventAdditionalInformation `json:"additional-information"`
}
Click to show internal directories.
Click to hide internal directories.