command

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidStatsRsp = errors.New("invalid stats response")
	ErrEmptyStats      = errors.New("empty stats")
	ErrUnsupService    = errors.New("unsupported service")
	ErrMetricsNotFound = errors.New("metrics not found")
)

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Name string
	Addr string
	Cpu  string
	Port string
}

type BackendServers

type BackendServers struct {
	CpuNum      int
	HaproxyRoot string
	PubPort     int
	SubPort     int
	ManPort     int
	ForwardFor  bool

	Pub       []Backend
	Sub       []Backend
	Man       []Backend
	Dashboard []Backend
}

type Config

type Config struct {
	Ui  cli.Ui
	Cmd string
	// contains filtered or unexported fields
}

func (*Config) Help

func (this *Config) Help() string

func (*Config) Run

func (this *Config) Run(args []string) (exitCode int)

func (*Config) Synopsis

func (this *Config) Synopsis() string

type Deploy

type Deploy struct {
	Ui  cli.Ui
	Cmd string
	// contains filtered or unexported fields
}

func (*Deploy) Help

func (this *Deploy) Help() string

func (*Deploy) Run

func (this *Deploy) Run(args []string) (exitCode int)

func (*Deploy) Synopsis

func (this *Deploy) Synopsis() string

type Start

type Start struct {
	Ui  cli.Ui
	Cmd string
	// contains filtered or unexported fields
}

func (*Start) Help

func (this *Start) Help() string

func (*Start) Run

func (this *Start) Run(args []string) (exitCode int)

func (*Start) Synopsis

func (this *Start) Synopsis() string

Jump to

Keyboard shortcuts

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