Documentation ¶
Index ¶
- Constants
- type Azure
- type State
- type StateBootstrap
- type Store
- func (s Store) GetAdminSSHPrivateKeyPath() (string, error)
- func (s Store) GetAnsibleDir() (string, error)
- func (s Store) GetAnsibleInventoriesDir() (string, error)
- func (s Store) GetAnsibleMainFile() (string, error)
- func (s Store) GetAnsibleVarsDir() (string, error)
- func (s Store) GetArtifactsDir() (string, error)
- func (s Store) GetArtifactsPatchDir() (string, error)
- func (s Store) GetDeploymentScriptFile() (string, error)
- func (s Store) GetDeploymentsDir() (string, error)
- func (s Store) GetInfraDir() (string, error)
- func (s Store) GetMainArtifactFilePath() (string, error)
- func (s Store) GetMainArtifactVarsFilePath() (string, error)
- func (s Store) GetMainArtifactVarsStoreFilePath() (string, error)
- func (s Store) GetStateDir() string
- func (s Store) GetTerraformDir() (string, error)
- func (s Store) GetVarsDir() (string, error)
- func (s Store) Set(state State) error
Constants ¶
View Source
const ( StateMode = 0740 ScriptMode = 0750 )
View Source
const ( STATE_SCHEMA = 1 STATE_FILE = "kl-state.json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateBootstrap ¶
type StateBootstrap struct {
// contains filtered or unexported fields
}
func NewStateBootstrap ¶
func NewStateBootstrap(bootstrapLogger bootstrapLogger, klVersion string) StateBootstrap
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (Store) GetAdminSSHPrivateKeyPath ¶
func (Store) GetAnsibleDir ¶
func (Store) GetAnsibleInventoriesDir ¶
func (Store) GetAnsibleMainFile ¶
func (Store) GetAnsibleVarsDir ¶
TODO think about merge the vars dir with the global vars dir.
func (Store) GetArtifactsDir ¶
GetArtifactsDir get artifacts folder
func (Store) GetArtifactsPatchDir ¶
GetArtifactsPatchDir get the patches folder
func (Store) GetDeploymentScriptFile ¶
func (Store) GetDeploymentsDir ¶
func (Store) GetInfraDir ¶
GetInfraDir get the infrastructure folder.
func (Store) GetMainArtifactFilePath ¶
GetMainArtifactFilePath get artifacts main file path
func (Store) GetMainArtifactVarsFilePath ¶
GetMainArtifactVarsFilePath get the variables file path
func (Store) GetMainArtifactVarsStoreFilePath ¶
GetMainArtifactVarsStoreFilePath get the vars store, to store the vars generated.
func (Store) GetStateDir ¶
func (Store) GetTerraformDir ¶
GetTerraformDir get the terraform folder, this should be the sub folder of infra.
func (Store) GetVarsDir ¶
Click to show internal directories.
Click to hide internal directories.