codebuildevents

package
v0.0.0-...-096fdc8 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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