cmd

package
v0.0.0-...-4cf22c7 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2016 License: BSD-2-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	APIServer             string
	APIToken              string
	AppPort               string
	BaseRoleARN           string
	DefaultIAMRole        string
	IAMRoleKey            string
	MetadataAddress       string
	HostInterface         string
	HostIP                string
	BackoffMaxInterval    time.Duration
	BackoffMaxElapsedTime time.Duration
	AddIPTablesRule       bool
	Insecure              bool
	Verbose               bool
	Version               bool
	// contains filtered or unexported fields
}

Server encapsulates all of the parameters necessary for starting up the server. These can either be set via command line or directly.

func NewServer

func NewServer() *Server

NewServer will create a new Server with default values.

func (*Server) Run

func (s *Server) Run(host, token string, insecure bool) error

Run runs the specified Server.

Jump to

Keyboard shortcuts

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