Documentation
¶
Index ¶
- Variables
- func LoadCloudCreds[T statefile.CredentialsAws | statefile.CredentialsAzure](c *T, s consts.KsctlCloud) (errC error)
- func LoadConfig(c *Config) (errC error)
- func LoadStorageCreds[T statefile.CredentialsMongodb](c *T, s consts.KsctlStore) (errC error)
- func SaveCloudCreds[T statefile.CredentialsAws | statefile.CredentialsAzure](c *T, s consts.KsctlCloud) error
- func SaveConfig(c *Config) error
- func SaveStorageCreds[T statefile.CredentialsMongodb](c *T, s consts.KsctlStore) error
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string = "v0.0.1-dev" KsctlCoreVer string = "v0.0.1-dev" BuildDate string = time.Now().UTC().String() )
change this using ldflags
Functions ¶
func LoadCloudCreds ¶
func LoadCloudCreds[T statefile.CredentialsAws | statefile.CredentialsAzure](c *T, s consts.KsctlCloud) (errC error)
func LoadConfig ¶
func LoadStorageCreds ¶
func LoadStorageCreds[T statefile.CredentialsMongodb](c *T, s consts.KsctlStore) (errC error)
func SaveCloudCreds ¶
func SaveCloudCreds[T statefile.CredentialsAws | statefile.CredentialsAzure](c *T, s consts.KsctlCloud) error
func SaveConfig ¶
func SaveStorageCreds ¶
func SaveStorageCreds[T statefile.CredentialsMongodb](c *T, s consts.KsctlStore) error
Types ¶
type Config ¶
type Config struct {
PreferedStateStore consts.KsctlStore `json:"preferedStateStore"`
}
Click to show internal directories.
Click to hide internal directories.