Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Stream ¶
func Stream(params StreamParams) error
Stream the contents of a file to CloudWatch Logs.
Types ¶
type Message ¶
type Message struct { Log string `json:"log"` Stream string `json:"stream"` Time time.Time `json:"time"` }
Message is for each line in a Docker container log file.
type QueryOutput ¶
type QueryOutput struct {
Logs []Log
}
QueryOutput which gets returned fromm Query function.
func Query ¶
func Query(client *cloudwatchlogs.CloudWatchLogs, params QueryParams) (QueryOutput, error)
Query for logs.
type QueryParams ¶
QueryParams which get passed to the Query function.
Click to show internal directories.
Click to hide internal directories.