config

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2016 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dockbeat DockbeatConfig
}

type DockbeatConfig

type DockbeatConfig struct {
	Period *int64      `config:"period"`
	Socket *string     `config:"socket"`
	Tls    TlsConfig   `config:"tls"`
	Stats  StatsConfig `config:"stats"`
}

type StatsConfig

type StatsConfig struct {
	Container *bool `config:"container"`
	Net       *bool `config:"net"`
	Memory    *bool `config:"memory"`
	Blkio     *bool `config:"blkio"`
	Cpu       *bool `config:"cpu"`
}

type TlsConfig

type TlsConfig struct {
	Enable   *bool   `config:"enable"`
	CaPath   *string `config:"ca_path"`
	CertPath *string `config:"cert_path"`
	KeyPath  *string `config:"key_path"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL