consul_agent

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {

	/*Datacenter - Descr: Name of the agent's datacenter. Default: dc1
	 */
	Datacenter interface{} `yaml:"datacenter,omitempty"`

	/*Servers - Descr: WAN server addresses to join. Default: []
	 */
	Servers *Servers `yaml:"servers,omitempty"`

	/*Domain - Descr: Domain suffix for DNS Default: <nil>
	 */
	Domain interface{} `yaml:"domain,omitempty"`

	/*Services - Descr: Map of consul service definitions. Default: map[]
	 */
	Services interface{} `yaml:"services,omitempty"`

	/*ProtocolVersion - Descr: The Consul protocol to use. Default: 2
	 */
	ProtocolVersion interface{} `yaml:"protocol_version,omitempty"`

	/*LogLevel - Descr: Agent log level. Default: info
	 */
	LogLevel interface{} `yaml:"log_level,omitempty"`

	/*DnsConfig - Descr: Timeout used by Consul when recursively querying an upstream DNS server. Default: 5s
	 */
	DnsConfig *DnsConfig `yaml:"dns_config,omitempty"`

	/*Mode - Descr: Mode to run the agent in. (client or server) Default: client
	 */
	Mode interface{} `yaml:"mode,omitempty"`
}

* File Generated by enaml generator * !!! Please do not edit this file !!!

type Consul

type Consul struct {

	/*CaCert - Descr: PEM-encoded CA certificate Default: <nil>
	 */
	CaCert interface{} `yaml:"ca_cert,omitempty"`

	/*EncryptKeys - Descr: A list of passphrases that will be converted into encryption keys, the first key in the list is the active one Default: <nil>
	 */
	EncryptKeys interface{} `yaml:"encrypt_keys,omitempty"`

	/*ServerCert - Descr: PEM-encoded server certificate Default: <nil>
	 */
	ServerCert interface{} `yaml:"server_cert,omitempty"`

	/*AgentKey - Descr: PEM-encoded client key Default: <nil>
	 */
	AgentKey interface{} `yaml:"agent_key,omitempty"`

	/*ServerKey - Descr: PEM-encoded server key Default: <nil>
	 */
	ServerKey interface{} `yaml:"server_key,omitempty"`

	/*AgentCert - Descr: PEM-encoded agent certificate Default: <nil>
	 */
	AgentCert interface{} `yaml:"agent_cert,omitempty"`

	/*Agent - Descr: Agent log level. Default: info
	 */
	Agent *Agent `yaml:"agent,omitempty"`
}

* File Generated by enaml generator * !!! Please do not edit this file !!!

type ConsulAgentJob

type ConsulAgentJob struct {

	/*Consul - Descr: Agent log level. Default: info
	 */
	Consul *Consul `yaml:"consul,omitempty"`
}

* File Generated by enaml generator * !!! Please do not edit this file !!!

type DnsConfig

type DnsConfig struct {

	/*AllowStale - Descr: Enables a stale query for DNS information. This allows any Consul server, rather than only the leader, to service the request. Default: false
	 */
	AllowStale interface{} `yaml:"allow_stale,omitempty"`

	/*MaxStale - Descr: When allow_stale is specified, this is used to limit how stale results are allowed to be. Default: 5s
	 */
	MaxStale interface{} `yaml:"max_stale,omitempty"`

	/*RecursorTimeout - Descr: Timeout used by Consul when recursively querying an upstream DNS server. Default: 5s
	 */
	RecursorTimeout interface{} `yaml:"recursor_timeout,omitempty"`
}

* File Generated by enaml generator * !!! Please do not edit this file !!!

type Servers

type Servers struct {

	/*Lan - Descr: LAN server addresses to join on start. Default: []
	 */
	Lan interface{} `yaml:"lan,omitempty"`

	/*Wan - Descr: WAN server addresses to join. Default: []
	 */
	Wan interface{} `yaml:"wan,omitempty"`
}

* File Generated by enaml generator * !!! Please do not edit this file !!!

Jump to

Keyboard shortcuts

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