Documentation
¶
Index ¶
- func AzureCliModuleCommandHelper()
- func AzurecliModuleProcessor()
- func GetCommandArgument() string
- func GetModuleArgument() string
- func GetSubCommandArgument() string
- func PrintCommandHelper()
- func RestApiModuleProcessor()
- func ServiceBusCliModuleProcessor()
- type DeploymentToolsModule
- func (m *DeploymentToolsModule) GetCachedVersions() []Version
- func (m *DeploymentToolsModule) GetExec() string
- func (m *DeploymentToolsModule) GetLatestCachedVersion() Version
- func (m *DeploymentToolsModule) GetLatestModule()
- func (m *DeploymentToolsModule) GetLatestVersion() string
- func (m *DeploymentToolsModule) GetModule(version string)
- func (m *DeploymentToolsModule) InstallVersion(version string) error
- func (m *DeploymentToolsModule) IsLatest() bool
- func (m *DeploymentToolsModule) SetExists(version string) bool
- func (m *DeploymentToolsModule) SetPathsFromVersion(version Version)
- func (m *DeploymentToolsModule) SetWorkingVersion(version string)
- func (m *DeploymentToolsModule) UninstallAll() error
- func (m *DeploymentToolsModule) UninstallVersion(version string) error
- func (m *DeploymentToolsModule) VersionToInt(value string) int
- type Download
- type GetLocalVersion
- type GetOnlineVersions
- type PostInstall
- type PostUninstall
- type PreInstall
- type PreUninstall
- type Process
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AzureCliModuleCommandHelper ¶
func AzureCliModuleCommandHelper()
func AzurecliModuleProcessor ¶
func AzurecliModuleProcessor()
func GetCommandArgument ¶
func GetCommandArgument() string
func GetModuleArgument ¶
func GetModuleArgument() string
func GetSubCommandArgument ¶
func GetSubCommandArgument() string
func PrintCommandHelper ¶
func PrintCommandHelper()
func RestApiModuleProcessor ¶
func RestApiModuleProcessor()
func ServiceBusCliModuleProcessor ¶
func ServiceBusCliModuleProcessor()
Types ¶
type DeploymentToolsModule ¶
type DeploymentToolsModule struct { Name string WindowsExecutableName string LinuxExecutableName string FolderPath string ModulePath string ExecPath string Exec string Exists bool Latest bool Version string GetLocalVersion GetLocalVersion GetOnlineVersions GetOnlineVersions Download Download Process Process PreInstall PreInstall PostInstall PostInstall PreUninstall PreUninstall PostUninstall PostUninstall }
DeploymentToolsModule Entity
func (*DeploymentToolsModule) GetCachedVersions ¶
func (m *DeploymentToolsModule) GetCachedVersions() []Version
GetCachedVersions Get all the cached version of a module
func (*DeploymentToolsModule) GetExec ¶
func (m *DeploymentToolsModule) GetExec() string
func (*DeploymentToolsModule) GetLatestCachedVersion ¶
func (m *DeploymentToolsModule) GetLatestCachedVersion() Version
GetLatestCachedVersion Gets the latest cached version of the module
func (*DeploymentToolsModule) GetLatestModule ¶
func (m *DeploymentToolsModule) GetLatestModule()
GetLatestModule Get the latest version of a specific module
func (*DeploymentToolsModule) GetLatestVersion ¶
func (m *DeploymentToolsModule) GetLatestVersion() string
GetLatestVersion Gets a module latest version
func (*DeploymentToolsModule) GetModule ¶
func (m *DeploymentToolsModule) GetModule(version string)
GetModule GetModule Terraform into the tools folder
func (*DeploymentToolsModule) InstallVersion ¶
func (m *DeploymentToolsModule) InstallVersion(version string) error
InstallVersion Installs a specific version of a module
func (*DeploymentToolsModule) IsLatest ¶
func (m *DeploymentToolsModule) IsLatest() bool
IsLatest Check if the installed version is the latest
func (*DeploymentToolsModule) SetExists ¶
func (m *DeploymentToolsModule) SetExists(version string) bool
SetExists checks if Terraform module exists
func (*DeploymentToolsModule) SetPathsFromVersion ¶
func (m *DeploymentToolsModule) SetPathsFromVersion(version Version)
SetPathsFromVersion Sets the path od the module from a version
func (*DeploymentToolsModule) SetWorkingVersion ¶
func (m *DeploymentToolsModule) SetWorkingVersion(version string)
SetWorkingVersion Sets a working version for the module
func (*DeploymentToolsModule) UninstallAll ¶
func (m *DeploymentToolsModule) UninstallAll() error
UninstallAll Removes all cached versions of the module
func (*DeploymentToolsModule) UninstallVersion ¶
func (m *DeploymentToolsModule) UninstallVersion(version string) error
UninstallVersion Removes a specific version of a module
func (*DeploymentToolsModule) VersionToInt ¶
func (m *DeploymentToolsModule) VersionToInt(value string) int
VersionToInt Gets a integer of a version for version comparing
type GetLocalVersion ¶
GetLocalVersion Local Module Version function
type GetOnlineVersions ¶
GetOnlineVersions Local Module Get Online Versions function
type PostInstall ¶
PostInstall Instructions to be executed after installing any version
type PostUninstall ¶
PostUninstall Instructions to be executed after uninstalling any version
type PreInstall ¶
PreInstall Instructions to be executed before installing any version
type PreUninstall ¶
PreUninstall Instructions to be executed before uninstalling any version