config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EksaGitPassphraseTokenEnv   = "EKSA_GIT_SSH_KEY_PASSPHRASE"
	EksaGitPrivateKeyTokenEnv   = "EKSA_GIT_PRIVATE_KEY"
	EksaGitKnownHostsFileEnv    = "EKSA_GIT_KNOWN_HOSTS"
	SshKnownHostsEnv            = "SSH_KNOWN_HOSTS"
	EksaReplicasReadyTimeoutEnv = "EKSA_REPLICAS_READY_TIMEOUT"
	ExternalEtcdTimeoutEnv      = "EKSA_EXTERNAL_ETCD_TIMEOUT"
	EksaAccessKeyIdEnv          = "EKSA_AWS_ACCESS_KEY_ID"
	EksaSecretAcessKeyEnv       = "EKSA_AWS_SECRET_ACCESS_KEY"
	EksaRegionEnv               = "EKSA_AWS_REGION"
)
View Source
const (
	DefaultMaxWaitPerMachine = 10 * time.Minute
	DefaultEtcdWaitStr       = "60m"
)
View Source
const (
	HttpsProxyKey = "HTTPS_PROXY"
	HttpProxyKey  = "HTTP_PROXY"
	NoProxyKey    = "NO_PROXY"
)

Variables

This section is empty.

Functions

func GetExternalEtcdTimeout added in v0.11.0

func GetExternalEtcdTimeout() string

func GetMaxWaitPerMachine added in v0.9.2

func GetMaxWaitPerMachine() time.Duration

func GetProxyConfigFromEnv added in v0.11.0

func GetProxyConfigFromEnv() map[string]string

func ReadCredentials

func ReadCredentials() (username, password string, err error)

Types

type CliConfig

type CliConfig struct {
	GitSshKeyPassphrase string
	GitPrivateKeyFile   string
	GitKnownHostsFile   string
	MaxWaitPerMachine   time.Duration
}

Jump to

Keyboard shortcuts

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