Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudWatchLogEvents ¶
func GetCloudWatchLogEvents(client CWLGetLogEventsAPI, group string, stream string, token string) (cloudwatchlogs.GetLogEventsOutput, error)
get CloudWatchLog events and return GetLogEventsOutput
func GetCloudWatchLogSetting ¶
get CloudWatch Log settings from a build and return logGroupName, logStreamName and error
Types ¶
type CWLGetLogEventsAPI ¶
type CWLGetLogEventsAPI interface {
GetLogEvents(ctx context.Context, params *cloudwatchlogs.GetLogEventsInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetLogEventsOutput, error)
}
interface for AWS CloudWatch Logs API
func NewCloudWatchLogsAPI ¶
func NewCloudWatchLogsAPI() (CWLGetLogEventsAPI, error)
return CloudWatchLogs api client
Click to show internal directories.
Click to hide internal directories.