Documentation
¶
Index ¶
- func RegisterAutoscalerConfig(cmd *cobra.Command)
- func RegisterConfig(cmd *cobra.Command)
- func RegisterProviderConfig(cmd *cobra.Command)
- func RegisterStorageConfig(cmd *cobra.Command)
- func RegisterTLSConfig(cmd *cobra.Command)
- func RegisterTelemetryConfig(cmd *cobra.Command)
- type AutoscalerConfig
- type Config
- type ProviderConfig
- type StorageConfig
- type TLSConfig
- type TelemetryConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterConfig ¶
func RegisterProviderConfig ¶
func RegisterStorageConfig ¶
RegisterStorageConfig register the storage CLI parameters for the state storage backend.
func RegisterTLSConfig ¶
func RegisterTelemetryConfig ¶
RegisterTelemetryConfig is used by a Cobra command to register the Telemetry CLI flags.
Types ¶
type AutoscalerConfig ¶
func GetAutoscalerConfig ¶
func GetAutoscalerConfig() *AutoscalerConfig
type Config ¶
func (*Config) MarshalZerologObject ¶
type ProviderConfig ¶
type ProviderConfig struct {
AWSASG bool
}
func GetProviderConfig ¶
func GetProviderConfig() *ProviderConfig
type StorageConfig ¶
StorageConfig is the CLI configuration options for the state storage backend.
func GetStorageConfig ¶
func GetStorageConfig() *StorageConfig
GetStorageConfig populates a StorageConfig object with the users CLI parameters.
type TLSConfig ¶
func GetTLSConfig ¶
func GetTLSConfig() TLSConfig
func (*TLSConfig) MarshalZerologObject ¶
type TelemetryConfig ¶
TelemetryConfig is the server Telemetry configuration struct.
func GetTelemetryConfig ¶
func GetTelemetryConfig() TelemetryConfig
GetTelemetryConfig hydrates the telemetry config struct.
func (*TelemetryConfig) MarshalZerologObject ¶
func (c *TelemetryConfig) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject is the Zerolog marshaller which allow us to log the object.
Click to show internal directories.
Click to hide internal directories.