DengineConsul

package
Version: v0.0.0-...-c891ed9 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Id       string
	Name     string
	Tcp      string
	Interval string
	Timeout  string
}

type ConsulConfig

type ConsulConfig struct {
	Datacenter              string
	Data_dir                string
	Log_level               string
	Enable_syslog           bool
	Enable_debug            bool
	Enable_script_checks    bool
	Leave_on_terminate      bool
	Skip_leave_on_interrupt bool
	Rejoin_after_leave      bool
	Bootstrap_expect        int64
	Check                   Check
}

type ConsulCreateInput

type ConsulCreateInput struct {
	InstanceName string
	ImageId      string
	SubnetId     string
	ConsulConfig interface{}
	KeyName      string
	Flavor       string
	Cloud        string
	Region       string
	AssignPubIp  bool
}

func (*ConsulCreateInput) ConsulOrch

func (concreate *ConsulCreateInput) ConsulOrch(conconf ConsulConfig) ServerCreate.ServerCreateResponse

func (ConsulCreateInput) ConsulServerCreate

func (consul ConsulCreateInput) ConsulServerCreate() ServerCreate.ServerCreateResponse

type ConsulCreateResponse

type ConsulCreateResponse struct {
	ConsulResponse ServerCreate.ServerCreateResponse
}

type ConsulServerConfig

type ConsulServerConfig struct {
	Bind_addr               string
	Datacenter              string
	Ui                      bool
	Client_Addr             string
	Advertise_addr          string
	Data_dir                string
	Log_level               string
	Enable_syslog           bool
	Enable_debug            bool
	Enable_script_checks    bool
	Node_name               string
	Server                  bool
	Leave_on_terminate      bool
	Skip_leave_on_interrupt bool
	Rejoin_after_leave      bool
	Bootstrap_expect        int64
	Retry_join              []string
	Check                   Check
}

Jump to

Keyboard shortcuts

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