Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string BuildTime string CommitHash string GitStatus string )
View Source
var DmiConfig = GlobalConfigSpec{ Server: "localhost:50075", Grpc: GrpcConfigSpec{ Timeout: time.Second * 10, }, }
View Source
var GlobalConfig = GlobalConfigSpec{ Server: "localhost:50070", Grpc: GrpcConfigSpec{ Timeout: time.Second * 10, }, }
View Source
var GlobalOptions struct { Config string `short:"c" long:"config" env:"BBSIMCTL_CONFIG" value-name:"FILE" default:"" description:"Location of client config file"` Server string `short:"s" long:"server" default:"" value-name:"SERVER:PORT" description:"IP/Host and port of XOS"` //Protoset string `long:"protoset" value-name:"FILENAME" description:"Load protobuf definitions from protoset instead of reflection api"` Debug bool `short:"d" long:"debug" description:"Enable debug mode"` }
Functions ¶
func ProcessGlobalOptions ¶
func ProcessGlobalOptions()
Types ¶
type GlobalConfigSpec ¶
type GlobalConfigSpec struct { Server string `yaml:"server"` Grpc GrpcConfigSpec }
type GrpcConfigSpec ¶
Click to show internal directories.
Click to hide internal directories.