config

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BindPort                 int
	MetricsAddr              string
	EnableLeaderElection     bool
	EnableDevelopmentLogging bool
	AccountID                string
	Region                   string
	LogLevel                 string
}

Config contains configuration otpions for ACK service controllers

func (*Config) BindFlags

func (cfg *Config) BindFlags()

BindFlags defines CLI/runtime configuration options

func (*Config) SetupLogger

func (cfg *Config) SetupLogger()

SetupLogger initializes the logger used in the service controller

func (*Config) Validate

func (cfg *Config) Validate() error

Validate ensures the options are valid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL