cli

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Println

func Println(format string, a ...interface{})

Types

type AgentCmdFlags

type AgentCmdFlags struct {
	ConfigPath    string
	Host          string
	Port          uint
	DirectCommand string
	StaticPath    []string
	// contains filtered or unexported fields
}

func (*AgentCmdFlags) GetConfigPath

func (a *AgentCmdFlags) GetConfigPath() string

func (*AgentCmdFlags) GetDirectCommand

func (a *AgentCmdFlags) GetDirectCommand() string

func (*AgentCmdFlags) GetHost

func (a *AgentCmdFlags) GetHost() string

func (*AgentCmdFlags) GetPort

func (a *AgentCmdFlags) GetPort() uint

func (*AgentCmdFlags) GetRevision

func (a *AgentCmdFlags) GetRevision() string

func (*AgentCmdFlags) GetStaticPath

func (a *AgentCmdFlags) GetStaticPath() map[string]string

func (*AgentCmdFlags) GetVersion

func (a *AgentCmdFlags) GetVersion() string

func (*AgentCmdFlags) SuppressAutoStart

func (a *AgentCmdFlags) SuppressAutoStart() bool

type AgentCommander

type AgentCommander struct {
	// contains filtered or unexported fields
}

func NewAgentCommander

func NewAgentCommander(manifest AgentManifest) (*AgentCommander, error)

func (*AgentCommander) Run

func (c *AgentCommander) Run() error

type AgentManifest

type AgentManifest interface {
	GetRevision() string
	GetVersion() string
	String() (string, bool)
}

Jump to

Keyboard shortcuts

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