Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamespaceEnv = "namespace" LoggerLevelEnv = "logger_level" LoggerCollectorAddrEnv = "logger_collector_addr" LoggerDisableStdoutEnv = "logger_disable_stdout" JaegerAddrEnv = "jaeger_addr" HTTPPortEnv = "service_port_http" GRPCPortEnv = "service_port_grpc" AdminPortEnv = "service_port_admin" )
View Source
const ( DeploymentsDir = ".deploy" ValuesDir = "config" ValuesExt = "yaml" ValuesBaseName = "values" ValuesDevName = "values_dev" ValuesLocalName = "values_local" ValuesStgName = "values_stage" ValuesProdName = "values_prod" )
Variables ¶
View Source
var ( InstanceUUID = uuid.New() StartTime = time.Now() ServiceName = "-" AppName = "-" GitHash = "-" Version = "-" BuildAt = "0001-01-01T00:00:00" )
nolint:gochecknoglobals // build args
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // New options. Hostname string PortAdmin uint16 PortHTTP uint16 PortGRPC uint16 LoggerOptions []zap.Option ExitSignals []os.Signal CorsOptions cors.Options // Run options. TLSConfig *tls.Config GRPCOptions []grpc.ServerOption // contains filtered or unexported fields }
func NewOptions ¶
func (*Options) AddRunOptions ¶ added in v0.2.0
func (*Options) ApplyRunOptions ¶
Click to show internal directories.
Click to hide internal directories.