Documentation ¶ Index ¶ type Consul func New() (*Consul, error) func (c *Consul) KnownTasks() ([]nomad.Task, error) func (c *Consul) LoadAllForTask(t nomad.Task) (TaskData, error) func (c *Consul) UpdateTaskData(t nomad.Task, key string, data interface{}) error type TaskData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Consul ¶ type Consul struct { *api.Client // contains filtered or unexported fields } func New ¶ func New() (*Consul, error) func (*Consul) KnownTasks ¶ func (c *Consul) KnownTasks() ([]nomad.Task, error) func (*Consul) LoadAllForTask ¶ func (c *Consul) LoadAllForTask(t nomad.Task) (TaskData, error) func (*Consul) UpdateTaskData ¶ func (c *Consul) UpdateTaskData(t nomad.Task, key string, data interface{}) error type TaskData ¶ type TaskData map[string]interface{} Source Files ¶ View all Source files consul.go Click to show internal directories. Click to hide internal directories.