Documentation ¶
Index ¶
- func AddEnvironmentFile() error
- func AddHandlerFile(cfg *config.Config) error
- func AddHandlerSection(handlerPath string, sectionName string, sectionContent string) error
- func AddMainFile(cfg *config.Config) error
- func AddPlatform(platform platform.Platform, environmentsMainContent string, ...) error
- func AddPlatformHandler(cfg *config.Config, platform string, handlerCode string) error
- func GetHandlerFileName(language lang.Language) string
- func GetHandlerPath(language lang.Language) string
- func GetMainFileName(language lang.Language) string
- func GetMainPath(language lang.Language) string
- func GetPlatformTerraformDir(platform platform.Platform) string
- func ListPlatforms() []string
- func PreDeployValidate(cfg *config.Config, platform platform.Platform) error
- func WriteEnvironmentVariables(platform platform.Platform) error
- type TerraformManager
- func (m *TerraformManager) Apply(ctx context.Context, vars map[string]string) error
- func (m *TerraformManager) Init(ctx context.Context) error
- func (m *TerraformManager) Output(ctx context.Context) (map[string]tfexec.OutputMeta, error)
- func (m *TerraformManager) Plan(ctx context.Context, vars map[string]string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEnvironmentFile ¶
func AddEnvironmentFile() error
func AddHandlerFile ¶
func AddHandlerSection ¶
func AddMainFile ¶
func AddPlatform ¶
func AddPlatformHandler ¶
func GetHandlerFileName ¶
func GetHandlerPath ¶
func GetMainFileName ¶
func GetMainPath ¶
func GetPlatformTerraformDir ¶
func ListPlatforms ¶
func ListPlatforms() []string
func PreDeployValidate ¶
Types ¶
type TerraformManager ¶
type TerraformManager struct {
// contains filtered or unexported fields
}
func NewTerraformManager ¶
func NewTerraformManager(workDir string) (*TerraformManager, error)
func (*TerraformManager) Output ¶
func (m *TerraformManager) Output(ctx context.Context) (map[string]tfexec.OutputMeta, error)
Click to show internal directories.
Click to hide internal directories.