Documentation ¶
Index ¶
- type Consul
- func (c *Consul) Delete(req *state.DeleteRequest) error
- func (c *Consul) Features() []state.Feature
- func (c *Consul) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (c *Consul) Init(metadata state.Metadata) error
- func (c *Consul) Ping() error
- func (c *Consul) Set(req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consul ¶
type Consul struct { state.DefaultBulkStore // contains filtered or unexported fields }
Consul is a state store implementation for HashiCorp Consul.
func NewConsulStateStore ¶
NewConsulStateStore returns a new consul state store.
func (*Consul) Delete ¶
func (c *Consul) Delete(req *state.DeleteRequest) error
Delete performes a Consul KV delete operation
func (*Consul) Features ¶ added in v1.1.1
Features returns the features available in this state store
func (*Consul) Get ¶
func (c *Consul) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves a Consul KV item
Click to show internal directories.
Click to hide internal directories.