Documentation
¶
Index ¶
- func GetCARootFile() string
- func GetCertificateFile() string
- func GetDeviceID() string
- func GetGracefulShutdownDuration() time.Duration
- func GetHttpRequestTimeout() time.Duration
- func GetKubeConfig() string
- func GetPrivateKey() string
- func GetServerAddress() string
- func GetTargetNamespace() string
- func GetXDGRuntimeDir() string
- func InitConfiguration(cmd *cobra.Command, configFile string) error
- type RetryConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCARootFile ¶
func GetCARootFile() string
func GetCertificateFile ¶
func GetCertificateFile() string
func GetDeviceID ¶
func GetDeviceID() string
func GetHttpRequestTimeout ¶
func GetKubeConfig ¶
func GetKubeConfig() string
func GetPrivateKey ¶
func GetPrivateKey() string
func GetServerAddress ¶
func GetServerAddress() string
func GetTargetNamespace ¶
func GetTargetNamespace() string
func GetXDGRuntimeDir ¶
func GetXDGRuntimeDir() string
Types ¶
type RetryConfig ¶
type RetryConfig struct { InitialInterval time.Duration Multiplier float64 MaxInterval time.Duration MaxElapsedTime time.Duration }
func GetRepoRetryConfig ¶
func GetRepoRetryConfig() RetryConfig
Click to show internal directories.
Click to hide internal directories.