Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface { Send(container ContainerInfo, key string, value interface{}) error SendConn(container ContainerInfo, host string) error SendHost(host HostInfo, key string, value interface{}) error }
type ContainerInfo ¶
type ContainerInfo struct { Name string Image string Hostname string App string Process string Labels map[string]string }
func NewContainerInfo ¶
func NewContainerInfo(container *container.Container) ContainerInfo
type HostClient ¶
type HostClient struct {
// contains filtered or unexported fields
}
func NewHostClient ¶
func NewHostClient() (*HostClient, error)
func (*HostClient) GetHostMetrics ¶
func (h *HostClient) GetHostMetrics() ([]map[string]float, error)
func (*HostClient) GetHostname ¶
func (h *HostClient) GetHostname() (string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.