Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAllEnv ¶
Types ¶
type Config ¶
type Config struct { shared.Config ConfigFile *ConfigFile GRPCClient *grpc.GRPCClient FileClient *fileclient.FileClient APIClient *swagger.APIClient GithubTarballURL string TerraformConf TerraformConf }
func (*Config) SetTerraformDir ¶
SetTerraformDir is used to set the terraform directory as it may change after
type ConfigFile ¶
type ConfigFile struct { Resources ConfigFileResources `mapstructure:"resources" json:"resources,omitempty"` GRPC ConfigFileGRPC `mapstructure:"grpc" json:"grpc,omitempty"` API ConfigFileAPI `mapstructure:"api" json:"api,omitempty"` VCS ConfigFileVCS `mapstructure:"vcs" json:"github,omitempty"` Terraform ConfigFileTerraform `mapstructure:"terraform" json:"terraform,omitempty"` }
type ConfigFileAPI ¶
type ConfigFileGRPC ¶
type ConfigFileResources ¶
type ConfigFileResources struct { TeamID string `mapstructure:"teamID" json:"teamID,omitempty"` ModuleID string `mapstructure:"moduleID" json:"moduleID,omitempty"` ModuleRunID string `mapstructure:"moduleRunID" json:"moduleRunID,omitempty"` ModuleMonitorID string `mapstructure:"moduleMonitorID" json:"moduleMonitorID,omitempty"` }
type ConfigFileTerraform ¶
type ConfigFileTerraform struct { // TFDir is a relative or absolute path to the terraform directory TFDir string `mapstructure:"dir" json:"dir,omitempty"` }
type ConfigFileVCS ¶
type ConfigFileVCS struct { VCSRepositoryName string `mapstructure:"repositoryName" json:"repositoryName,omitempty"` VCSModulePath string `mapstructure:"modulePath" json:"modulePath,omitempty"` VCSSHA string `mapstructure:"sha" json:"sha,omitempty"` VCSRepositoryDest string `mapstructure:"repositoryDest" json:"repositoryDest,omitempty" default:"./bin/tmp"` }
type TerraformConf ¶
type TerraformConf struct {
TFDir string
}
TerraformConf is the configuration for Terraform params
Click to show internal directories.
Click to hide internal directories.