Documentation ¶
Overview ¶
Package adapter is the implementation of LogDNA LogSpout Adapter
Package adapter is the implementation of LogDNA LogSpout Adapter
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { Config Configuration HTTPClient heimdall.Client Logger *log.Logger Queue chan Line }
Adapter structure:
type Configuration ¶
type Configuration struct { BackoffInterval time.Duration FlushInterval time.Duration Hostname string HTTPTimeout time.Duration JitterInterval time.Duration LogDNAKey string LogDNAURL string MaxBufferSize uint64 RequestRetryCount uint64 Tags string }
Configuration is Configuration Struct for LogDNA Adapter:
type ContainerConfig ¶
type ContainerConfig struct { Image string `json:"image"` Hostname string `json:"hostname"` Labels map[string]string `json:"labels"` }
ContainerConfig structure for the Config of ContainerInfo:
type ContainerInfo ¶
type ContainerInfo struct { Name string `json:"name"` ID string `json:"id"` Config ContainerConfig `json:"config"` }
ContainerInfo structure for the Container of Message:
Click to show internal directories.
Click to hide internal directories.