cmd

package
v0.0.0-...-20f3a6a Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: BSD-2-Clause Imports: 23 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
	IAMRoleKey      string
	MetadataAddress string
	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