Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogType_name = map[LogType]string{ LogTypeUnspecified: "UNSPECIFIED", LogTypeRun: "RUN", LogTypeBuild: "BUILD", LogTypeAll: "ALL", } LogType_value = map[string]LogType{ "UNSPECIFIED": LogTypeUnspecified, "RUN": LogTypeRun, "BUILD": LogTypeBuild, "ALL": LogTypeAll, } )
View Source
var AllLogTypes = []LogType{ LogTypeRun, LogTypeBuild, }
Functions ¶
func IsLogrusError ¶
Types ¶
type DiscardFormatter ¶
type DiscardFormatter struct{}
type FirelensMessage ¶
type FirelensMessage struct { Log string `json:"log"` ContainerID string `json:"container_id,omitempty"` ContainerName string `json:"container_name,omitempty"` Source Source `json:"source,omitempty"` // "stdout" or "stderr" EcsTaskDefinition string `json:"ecs_task_definition,omitempty"` // ECS metadata EcsTaskArn string `json:"ecs_task_arn,omitempty"` // ECS metadata EcsCluster string `json:"ecs_cluster,omitempty"` // ECS metadata Etag string `json:"etag,omitempty"` // added by us Host string `json:"host,omitempty"` // added by us Service string `json:"service,omitempty"` // added by us }
type InvalidLogTypeError ¶
type InvalidLogTypeError struct {
Value string
}
func (InvalidLogTypeError) Error ¶
func (e InvalidLogTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.