Documentation ¶
Index ¶
Constants ¶
View Source
const ( TerraformOutputFile = "terraform_output.json" EnvConfigFile = "config.json" )
Variables ¶
View Source
var ConfigFiles = []string{TerraformOutputFile, EnvConfigFile}
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct { DnsZoneName string ProjectID string BaseImageURL string EnvName string Region string PivnetApiToken string Zone1 string Zone2 string Zone3 string }
func ConfigFromEnvDirectory ¶
func DefaultEnvConfig ¶
type OpsManagerCredentials ¶
type OpsManagerMetadata ¶
type PivnetMetadata ¶
type StemcellMetadata ¶
type StemcellMetadata struct { PivnetMetadata StemcellName string }
type TerraformConfigSchema ¶
type TerraformConfigSchema struct { OpsManagerHostname string `json:"ops_manager_dns"` OpsManagerIp string `json:"ops_manager_private_ip"` JumpboxIp string `json:"jumpbox_public_ip"` NetworkName string `json:"network_name"` DeploymentTargetTag string `json:"vm_tag"` OpsManagerServiceAccountKey string `json:"ops_manager_service_account_key"` ExternalSqlIp string `json:"sql_db_ip"` ExternalSqlPort int OpsManagerSqlDbName string `json:"opsman_sql_db_name"` OpsManagerSqlUsername string `json:"opsman_sql_username"` OpsManagerSqlPassword string `json:"opsman_sql_password"` ERTSqlDbName string `json:"ert_sql_db_name"` ERTSqlUsername string `json:"ert_sql_username"` ERTSqlPassword string `json:"ert_sql_password"` MgmtSubnetName string `json:"management_subnet_name"` MgmtSubnetGateway string `json:"management_subnet_gateway"` MgmtSubnetCIDR string `json:"management_subnet_cidrs_0"` ServicesSubnetName string `json:"services_subnet_name"` ServicesSubnetGateway string `json:"services_subnet_gateway"` ServicesSubnetCIDR string `json:"services_subnet_cidrs_0"` DynamicServicesSubnetName string `json:"dynamic_services_subnet_name"` DynamicServicesSubnetGateway string `json:"dynamic_services_subnet_gateway"` DynamicServicesSubnetCIDR string `json:"dynamic_services_subnet_cidrs_0"` ErtSubnetName string `json:"ert_subnet_name"` ErtSubnetGateway string `json:"ert_subnet_gateway"` ErtSubnetCIDR string `json:"ert_subnet_cidrs_0"` HttpBackendServiceName string `json:"http_lb_backend_name"` SshTargetPoolName string `json:"ssh_router_pool"` WssTargetPoolName string `json:"wss_router_pool"` TcpTargetPoolName string `json:"tcp_router_pool"` TcpPortRange string `json:"tcp_port_range"` BuildpacksBucket string `json:"buildpacks_bucket"` DropletsBucket string `json:"droplets_bucket"` PackagesBucket string `json:"packages_bucket"` ResourcesBucket string `json:"resources_bucket"` DirectorBucket string `json:"director_blobstore_bucket"` DnsSuffix string `json:"dns_suffix"` AppsDomain string `json:"apps_domain"` SysDomain string `json:"sys_domain"` DopplerDomain string `json:"doppler_domain"` LoggregatorDomain string `json:"loggregator_domain"` SslCertificate string `json:"ssl_cert"` SslPrivateKey string `json:"ssl_cert_private_key"` StackdriverNozzleServiceAccountKey string `json:"stackdriver_service_account_key"` ServiceBrokerServiceAccountKey string `json:"service_broker_service_account_key"` ServiceBrokerDbIp string `json:"service_broker_db_ip"` ServiceBrokerDbUsername string `json:"service_broker_db_username"` ServiceBrokerDbPassword string `json:"service_broker_db_password"` Region string `json:"region"` Zone1 string `json:"azs_0"` Zone2 string `json:"azs_1"` Zone3 string `json:"azs_2"` ProjectName string `json:"project"` OpsManager OpsManagerCredentials }
type TerraformValue ¶
type TerraformValue struct {
Value interface{} `json:"value"`
}
type Tile ¶
type Tile struct { Pivnet PivnetMetadata Product OpsManagerMetadata Stemcell *StemcellMetadata }
Click to show internal directories.
Click to hide internal directories.