Documentation ¶
Overview ¶
Package consul exposes a Consul service and client.
Index ¶
Constants ¶
View Source
const (
// ServiceName is the advertised name of this service.
ServiceName = "consul"
)
Variables ¶
This section is empty.
Functions ¶
func NewComponent ¶
func NewComponent(opts ...docker.SimpleContainerOptionFunc) *docker.SimpleComponent
NewComponent creates a new Consul component.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Consul client.
func (Client) DeleteTree ¶
DeleteTree removes values under a prefix.
Click to show internal directories.
Click to hide internal directories.