Documentation ¶
Index ¶
- func GetSluConfigFilePath() (string, error)
- func GetSluSecretFilePath() (string, error)
- func GetSluStateFilePath() (string, error)
- func WriteConfig(c SluConfig)
- func WriteSecrets(s SluSecrets)
- func WriteState(c SluState)
- type SluConfig
- type SluConfigSluVault
- type SluSecrets
- type SluSecretsDigitalOcean
- type SluSecretsSluVault
- type SluState
- type SluStateDigitalOcean
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSluConfigFilePath ¶
func GetSluSecretFilePath ¶
func GetSluStateFilePath ¶
func WriteConfig ¶
func WriteConfig(c SluConfig)
func WriteSecrets ¶
func WriteSecrets(s SluSecrets)
func WriteState ¶
func WriteState(c SluState)
Types ¶
type SluConfig ¶
type SluConfig struct {
SluVault SluConfigSluVault
}
func ReadConfig ¶
func ReadConfig() SluConfig
type SluConfigSluVault ¶
type SluSecrets ¶
type SluSecrets struct { DigitalOcean []SluSecretsDigitalOcean SluVault SluSecretsSluVault }
func ReadSecrets ¶
func ReadSecrets() SluSecrets
type SluSecretsDigitalOcean ¶
type SluSecretsSluVault ¶
type SluSecretsSluVault struct {
Token string
}
type SluState ¶
type SluState struct {
DigitalOcean SluStateDigitalOcean
}
type SluStateDigitalOcean ¶
type SluStateDigitalOcean struct {
CurrentContext string
}
Click to show internal directories.
Click to hide internal directories.