Documentation
¶
Index ¶
Constants ¶
View Source
const ( TfRemoteURLEnvName = tfenvPrefix + remoteURLEnvName TfVersionEnvName = tfenvPrefix + "TERRAFORM_VERSION" TgRemoteURLEnvName = tgPrefix + remoteURLEnvName TgVersionEnvName = tgPrefix + "VERSION" TofuRemoteURLEnvName = tofuenvPrefix + remoteURLEnvName TofuVersionEnvName = tofuenvPrefix + "TOFU_VERSION" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ForceRemote bool
GithubToken string
NoInstall bool
RemoteConfPath string
RootPath string
Tf RemoteConfig
TfKeyPath string
Tg RemoteConfig
Tofu RemoteConfig
TofuKeyPath string
UserPath string
Verbose bool
// contains filtered or unexported fields
}
func InitConfigFromEnv ¶
func (*Config) InitRemoteConf ¶ added in v1.0.8
func (conf *Config) InitRemoteConf()
type RemoteConfig ¶ added in v1.0.8
type RemoteConfig struct {
Data map[string]string
RemoteURL string
// contains filtered or unexported fields
}
func (RemoteConfig) GetInstallMode ¶ added in v1.0.8
func (r RemoteConfig) GetInstallMode() string
func (RemoteConfig) GetListMode ¶ added in v1.0.8
func (r RemoteConfig) GetListMode() string
func (RemoteConfig) GetListURL ¶ added in v1.0.8
func (r RemoteConfig) GetListURL() string
func (RemoteConfig) GetRemoteURL ¶ added in v1.0.8
func (r RemoteConfig) GetRemoteURL() string
func (RemoteConfig) GetRewriteRule ¶ added in v1.0.8
func (r RemoteConfig) GetRewriteRule() []string
Click to show internal directories.
Click to hide internal directories.