Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulFactory ¶
type ConsulFactory struct { Ports ConsulPorts // contains filtered or unexported fields }
func NewConsulFactory ¶
func NewConsulFactory() (*ConsulFactory, error)
func (*ConsulFactory) Clean ¶
func (ef *ConsulFactory) Clean() error
func (*ConsulFactory) NewConsulInstance ¶
func (ef *ConsulFactory) NewConsulInstance() (*ConsulInstance, error)
type ConsulInstance ¶
type ConsulInstance struct { Ports ConsulPorts // contains filtered or unexported fields }
func (*ConsulInstance) Binary ¶
func (i *ConsulInstance) Binary() string
func (*ConsulInstance) Clean ¶
func (i *ConsulInstance) Clean() error
func (*ConsulInstance) Run ¶
func (i *ConsulInstance) Run() error
func (*ConsulInstance) RunWithPort ¶
func (i *ConsulInstance) RunWithPort() error
func (*ConsulInstance) Silence ¶
func (i *ConsulInstance) Silence()
type ConsulPorts ¶
type ConsulPorts struct {
DnsPort, HttpPort, GrpcPort, ServerPort, SerfLanPort, SerfWanPort int
}
func NewRandomConsulPorts ¶
func NewRandomConsulPorts() ConsulPorts
func (ConsulPorts) Flags ¶
func (p ConsulPorts) Flags() []string
return flags to set each port type as a string
Click to show internal directories.
Click to hide internal directories.