config

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvDefault

func GetEnvDefault(k string, dv string) string

func GetMultiEnvDefault

func GetMultiEnvDefault(ks []string, dv string) string

func GetTimeout

func GetTimeout() (float64, error)

Types

type BaseConfig

type BaseConfig struct {
	Key         string
	Secret      string
	Timeout     time.Duration
	Environment string
}

BaseConfig represents the provider structure

type ExoscaleProviderConfig

type ExoscaleProviderConfig struct {
	Config      BaseConfig
	ClientV2    *exov2.Client
	ClientV3    *exov3.Client
	Environment string
}

Jump to

Keyboard shortcuts

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