Documentation
¶
Index ¶
Constants ¶
View Source
const ( AccessKeySecretKey = "accessKey" AccountSecretKey = "account" )
Variables ¶
This section is empty.
Functions ¶
func CurrentDir ¶
func CurrentDir() string
func IsNativeFramework ¶
func ParseHost ¶
ParseHost picks a host from a hostname or an URL and detects the scheme.
The default scheme is https. This may be altered by specifying an explicit http://hostname URL.
Types ¶
type Credentials ¶ added in v0.0.10
type Credentials struct { Account string `mapstructure:"account"` AccessKey string `mapstructure:"accessKey"` }
func LoadCredentialsFromFile ¶ added in v0.0.10
func LoadCredentialsFromFile(secretPath string) (*Credentials, error)
LoadTokenFromFile loads the access key and the account from a mounted secret directory
Click to show internal directories.
Click to hide internal directories.