Documentation ¶
Index ¶
- Constants
- func BindCommandlineArguments()
- func ConfigureCommandLineLogging()
- func ConfigureLogging()
- func ContextWithDefaultTimeout() (context.Context, context.CancelFunc)
- func LoadConfig(config interface{}, defaultPath string, overrideConfigs []string) *viper.Viper
- func ServeHttp(port uint16, mux http.Handler) (shutdown func())
- func ServeMetrics(port uint16) (shutdown func())
- func ServeMetricsFor(port uint16, gatherer prometheus.Gatherer) (shutdown func())
- func UnmarshalKey(v *viper.Viper, key string, item interface{}) error
- type LoginCredentials
Constants ¶
View Source
const PodNamePrefix string = "armada-"
Variables ¶
This section is empty.
Functions ¶
func BindCommandlineArguments ¶
func BindCommandlineArguments()
func ConfigureCommandLineLogging ¶
func ConfigureCommandLineLogging()
TODO Move logging-related code out of common into a new package internal/logging
func ConfigureLogging ¶
func ConfigureLogging()
func ContextWithDefaultTimeout ¶
func ContextWithDefaultTimeout() (context.Context, context.CancelFunc)
func LoadConfig ¶
TODO Move code relating to config out of common into a new package internal/serverconfig
func ServeMetrics ¶
func ServeMetrics(port uint16) (shutdown func())
func ServeMetricsFor ¶
func ServeMetricsFor(port uint16, gatherer prometheus.Gatherer) (shutdown func())
Types ¶
type LoginCredentials ¶
func (*LoginCredentials) GetRequestMetadata ¶
func (*LoginCredentials) RequireTransportSecurity ¶
func (c *LoginCredentials) RequireTransportSecurity() bool
Directories ¶
Path | Synopsis |
---|---|
Package armadaerrors contains generic errors that should be returned by code handling gRPC requests.
|
Package armadaerrors contains generic errors that should be returned by code handling gRPC requests. |
Click to show internal directories.
Click to hide internal directories.