Documentation ¶
Index ¶
- type Dir
- type Manager
- func (m *Manager) CreateSshConfig() error
- func (m *Manager) CreateTemplate() error
- func (m *Manager) CreateVars() (*os.File, error)
- func (m *Manager) DeletePluginsDir() error
- func (m *Manager) DeleteSshConfig() error
- func (m *Manager) DeleteTemplate() error
- func (m *Manager) DeleteVars() error
- func (m *Manager) GoToDirInitial() error
- func (m *Manager) GoToDirRun() error
- func (m *Manager) ParseTemplate() (*template.Template, error)
- func (m *Manager) SetCloudCredentials() error
- func (m *Manager) SetPluginsPath() error
- func (m *Manager) ToolExecutableExists() bool
- func (m *Manager) UnsetCloudCredentials() error
- func (m *Manager) UnsetPluginsEnvironmentVars() error
- type Path
- type Template
- type Terraform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewManager ¶
Creates a new manager. Used for cmd workflows
func (*Manager) CreateSshConfig ¶ added in v0.1.1
Generates a ssh config file at the current working directory
func (*Manager) CreateTemplate ¶
Creates a template file by merging the cloud and base files.
func (*Manager) DeletePluginsDir ¶
Deletes the plugins directory.
func (*Manager) DeleteSshConfig ¶
Deletes the ssh config file.
func (*Manager) DeleteTemplate ¶
Deletes the merged template file.
func (*Manager) GoToDirInitial ¶ added in v0.1.1
Changes the current working directory to the initial dir
func (*Manager) GoToDirRun ¶ added in v0.1.1
Changes the current working directory to the run dir
func (*Manager) ParseTemplate ¶
Parses the merged template.
func (*Manager) SetCloudCredentials ¶ added in v0.1.1
Sets the cloud credentials environment variables.
func (*Manager) SetPluginsPath ¶ added in v0.1.1
Sets the plugins path environment variable.
func (*Manager) ToolExecutableExists ¶
Return true if the tool executable exists
func (*Manager) UnsetCloudCredentials ¶ added in v0.1.1
Unsets the cloud credentials environment variables.
func (*Manager) UnsetPluginsEnvironmentVars ¶
Unsets the plugins path environment variable.
Source Files ¶
- aws_credentials.go
- create_ssh_config.go
- create_template.go
- create_vars.go
- delete_plugins_dir.go
- delete_ssh_config.go
- delete_template.go
- delete_vars.go
- go_to_dir_initial.go
- go_to_dir_run.go
- new_manager.go
- parse_template.go
- set_cloud_credentials.go
- set_plugins_path.go
- tool_executable_exists.go
- unset_cloud_credentials.go
- unset_plugins_path.go