Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBackoffInterval = 500 * time.Millisecond DefaultBackoffMultiplier = 1.5 DefaultBackoffMaxInterval = 10 * time.Second DefaultBackoffMaxTime = 0 )
View Source
const ( HTTP = "http" HTTPS = "https" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackoffConfig ¶
type ClientConfig ¶
type ClientConfig struct { ServerAddr string TLSCrt string TLSKey string RootCA string Backoff BackoffConfig ClusterID string KubeConfig string Tunnel *Tunnel ConvertUrl string Token string TunnelsPerAgent int }
func LoadClientConfigFromEnv ¶
func LoadClientConfigFromEnv() (*ClientConfig, error)
Click to show internal directories.
Click to hide internal directories.