Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MetricsAddr string
EnableLeaderElection bool
EnableDevelopmentLogging bool
AccountID string
Region string
EndpointURL string
LogLevel string
ResourceTags []string
WatchNamespace string
EnableWebhookServer bool
WebhookServerAddr string
}
Config contains configuration otpions for ACK service controllers
func (*Config) BindFlags ¶
func (cfg *Config) BindFlags()
BindFlags defines CLI/runtime configuration options
func (*Config) SetAWSAccountID ¶ added in v0.15.0
SetAWSAccountID uses sts GetCallerIdentity API to find AWS AccountId and set in Config
func (*Config) SetupLogger ¶
func (cfg *Config) SetupLogger()
SetupLogger initializes the logger used in the service controller
Click to show internal directories.
Click to hide internal directories.