Documentation ¶
Index ¶
- Constants
- Variables
- func AddModuleInputFiles(config *model.Config, basePath string, readFile func(string) ([]byte, error))
- func AddStepsFilesFromBucket(config *model.Config, bucket model.Bucket)
- func AddStepsFilesFromFolder(config *model.Config, basePath string)
- func GetCloudProvider(ctx context.Context, flags *common.Flags) model.CloudProvider
- func GetConfig(prefix, configFile string, bucket model.Bucket) model.Config
- func GetLocalConfig(prefix, configFile string, bucket model.Bucket) model.Config
- func GetModuleState(stepState *model.StateStep, moduleName string) *model.StateModule
- func GetProviderPrefix(flags *common.Flags) string
- func GetRemoteConfig(prefix string, bucket model.Bucket) model.Config
- func GetStepState(state *model.State, stepName string) *model.StateStep
- func ProcessSteps(config *model.Config, providerType model.ProviderType)
- func PutAdditionalFiles(bucket model.Bucket, steps []model.Step)
- func PutConfig(bucket model.Bucket, config model.Config)
- func ValidateConfig(config model.Config, state *model.State)
- type Agent
- type Deleter
- type Updater
Constants ¶
View Source
const ( StableVersion = "stable" IncludeFormat = "config/%s/include" EntigoSource = "github.com/entigolabs/entigo-infralib-release" )
Variables ¶
View Source
var ReservedFiles = model.ToSet([]string{"main.tf", "provider.tf", "backend.conf"})
Functions ¶
func AddModuleInputFiles ¶
func AddStepsFilesFromBucket ¶
func AddStepsFilesFromFolder ¶
func GetCloudProvider ¶
func GetLocalConfig ¶
func GetModuleState ¶
func GetModuleState(stepState *model.StateStep, moduleName string) *model.StateModule
func GetProviderPrefix ¶
func ProcessSteps ¶
func ProcessSteps(config *model.Config, providerType model.ProviderType)
Types ¶
type Agent ¶
Click to show internal directories.
Click to hide internal directories.