consul

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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{}

Jump to

Keyboard shortcuts

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