Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultVcfApiCallTimeout = 2 * time.Minute // VcfTestUrl URL of a VCF instance, used for acceptance tests. VcfTestUrl = "VCF_TEST_URL" // VcfTestUsername username of SSO user, used for acceptance tests. VcfTestUsername = "VCF_TEST_USERNAME" // VcfTestPassword an SSO user with the ADMIN role or admin@local API user, used for acceptance tests. VcfTestPassword = "VCF_TEST_PASSWORD" // CloudBuilderTestUrl URL of a CloudBuilder instance, used for acceptance tests. CloudBuilderTestUrl = "CLOUDBUILDER_TEST_URL" // CloudBuilderTestUsername username of CloudBuilder user, used for acceptance tests. CloudBuilderTestUsername = "CLOUDBUILDER_TEST_USERNAME" // CloudBuilderTestPassword an CloudBuilder user, used for acceptance tests. CloudBuilderTestPassword = "CLOUDBUILDER_TEST_PASSWORD" // VcfTestAllowUnverifiedTls allows VCF environments with self-signed certificates // to be used in acceptance tests. VcfTestAllowUnverifiedTls = "VCF_TEST_ALLOW_UNVERIFIED_TLS" // VcfTestHost1Fqdn the FQDN of the first ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost1Fqdn = "VCF_TEST_HOST1_FQDN" // VcfTestHost1Pass the password of the first ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost1Pass = "VCF_TEST_HOST1_PASS" // VcfTestHost2Fqdn the FQDN of the second ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost2Fqdn = "VCF_TEST_HOST2_FQDN" // VcfTestHost2Pass the password of the second ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost2Pass = "VCF_TEST_HOST2_PASS" // VcfTestHost3Fqdn the FQDN of the third ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost3Fqdn = "VCF_TEST_HOST3_FQDN" // VcfTestHost3Pass the password of the third ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost3Pass = "VCF_TEST_HOST3_PASS" // VcfTestHost4Fqdn the FQDN of the forth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost4Fqdn = "VCF_TEST_HOST4_FQDN" // VcfTestHost4Pass the password of the forth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost4Pass = "VCF_TEST_HOST4_PASS" // VcfTestHost5Fqdn the FQDN of the fifth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost5Fqdn = "VCF_TEST_HOST5_FQDN" // VcfTestHost5Pass the password of the fifth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost5Pass = "VCF_TEST_HOST5_PASS" // VcfTestHost6Fqdn the FQDN of the sixth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost6Fqdn = "VCF_TEST_HOST6_FQDN" // VcfTestHost6Pass the password of the sixth ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost6Pass = "VCF_TEST_HOST6_PASS" // VcfTestHost7Fqdn the FQDN of the seventh ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost7Fqdn = "VCF_TEST_HOST7_FQDN" // VcfTestHost7Pass the password of the seventh ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost7Pass = "VCF_TEST_HOST7_PASS" // VcfTestHost8Fqdn the FQDN of the eight ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost8Fqdn = "VCF_TEST_HOST8_FQDN" // VcfTestHost8Pass the password of the eight ESXi host, that has not been commissioned // with the SDDC Manager. VcfTestHost8Pass = "VCF_TEST_HOST8_PASS" // VcfTestWitnessHostIp the IP address of the witness host to be used to stretch a cluster. VcfTestWitnessHostIp = "VCF_TEST_WITNESS_HOST_IP" // VcfTestWitnessHostCidr the CIDR notatin address of the witness host to be used to stretch a cluster. VcfTestWitnessHostCidr = "VCF_TEST_WITNESS_HOST_CIDR" // VcfTestWitnessHostFqdn the FQDN of the witness host to be used to stretch a cluster. VcfTestWitnessHostFqdn = "VCF_TEST_WITNESS_HOST_FQDN" // VcfTestNsxLicenseKey license key for NSX required for domain and cluster acceptance tests. VcfTestNsxLicenseKey = "VCF_TEST_NSX_LICENSE_KEY" // VcfTestEsxiLicenseKey license key for vSphere required for workload domain and cluster acceptance tests. VcfTestEsxiLicenseKey = "VCF_TEST_ESXI_LICENSE_KEY" // VcfTestVsanLicenseKey license key for vSAN required for workload domain and cluster acceptance tests. VcfTestVsanLicenseKey = "VCF_TEST_VSAN_LICENSE_KEY" // VcfTestVcenterLicenseKey license key for vCenter required for bringup acceptance tests. VcfTestVcenterLicenseKey = "VCF_TEST_VCENTER_LICENSE_KEY" // VcfTestClusterId the identifier of the cluster within its vCenter server. VcfTestClusterId = "VCF_TEST_CLUSTER_ID" // VcfTestDomainDataSourceId id of a workload domain used in workload domain data source acceptance test. // Typically, the id of management domain is used as it is already created during bringup. VcfTestDomainDataSourceId = "VCF_DOMAIN_DATA_SOURCE_ID" // VcfTestDomainDataSourceName name of a workload domain used in workload domain data source acceptance test. // Typically, the name of management domain is used as it is already created during bringup. VcfTestDomainDataSourceName = "VCF_DOMAIN_DATA_SOURCE_NAME" // VcfTestClusterDataSourceId id of cluster used in cluster data source acceptance test. // Typically, the id of the default cluster in the management domain is used as it is // already created during bringup. VcfTestClusterDataSourceId = "VCF_CLUSTER_DATA_SOURCE_ID" // VcfTestDomainName display name of the workload domain used in the acceptance tests. VcfTestDomainName = "VCF_DOMAIN_NAME" // VcfTestNetworkPoolName used in vcf_network_pool acceptance tests. VcfTestNetworkPoolName = "terraform-test-pool" // VcfTestMsftCaServerUrl used in vcf_certificate_authority tests. VcfTestMsftCaServerUrl = "VCF_TEST_MSFT_CA_SERVER_URL" // VcfTestMsftCaUser used in vcf_certificate_authority tests. VcfTestMsftCaUser = "VCF_TEST_MSFT_CA_USER" // VcfTestMsftCaSecret used in vcf_certificate_authority tests. VcfTestMsftCaSecret = "VCF_TEST_MSFT_CA_SECRET" // VcfTestResourceCertificate used in vcf_external_certificate tests. VcfTestResourceCertificate = "VCF_TEST_RESOURCE_CERTIFICATE" // VcfTestResourceCaCertificate used in vcf_external_certificate tests. VcfTestResourceCaCertificate = "VCF_TEST_RESOURCE_CA_CERTIFICATE" // VcfTestResourceCertificateChain used in vcf_external_certificate tests. VcfTestResourceCertificateChain = "VCF_TEST_RESOURCE_CERTIFICATE_CHAIN" // VcfTestEdgeClusterRootPass the root user password for the NSX manager. VcfTestEdgeClusterRootPass = "VCF_TEST_EDGE_CLUSTER_ROOT_PASS" // VcfTestEdgeClusterAdminPass the admin user password for the NSX manager. VcfTestEdgeClusterAdminPass = "VCF_TEST_EDGE_CLUSTER_ADMIN_PASS" // VcfTestEdgeClusterAuditPass the audit user password for the NSX manager. VcfTestEdgeClusterAuditPass = "VCF_TEST_EDGE_CLUSTER_AUDIT_PASS" // VcfTestEdgeNodeRootPass the root user password for the edge nodes. VcfTestEdgeNodeRootPass = "VCF_TEST_EDGE_NODE_ROOT_PASS" // VcfTestEdgeNodeAdminPass the admin user password for the edge nodes. VcfTestEdgeNodeAdminPass = "VCF_TEST_EDGE_NODE_ADMIN_PASS" // VcfTestEdgeNodeAuditPass the audit user password for the edge nodes. VcfTestEdgeNodeAuditPass = "VCF_TEST_EDGE_NODE_AUDIT_PASS" // VcfTestComputeClusterId the identifier of the compute cluster that will contain the edge nodes. VcfTestComputeClusterId = "VCF_TEST_COMPUTE_CLUSTER_ID" // VcfTestComputeClusterName the display name of the compute cluster that will contain the edge nodes. VcfTestComputeClusterName = "VCF_TEST_COMPUTE_CLUSTER_NAME" // VcfTestVcenterFqdn the FQDN of the vcenter server. VcfTestVcenterFqdn = "VCF_TEST_VCENTER_FQDN" // VcfTestSddcManagerFqdn the FQDN of the SDDC manager. VcfTestSddcManagerFqdn = "VCF_TEST_SDDC_MANAGER_FQDN" // VcfTestNsxManagerFqdn the FQDN of the NSX manager. VcfTestNsxManagerFqdn = "VCF_TEST_NSX_MANAGER_FQDN" )
Variables ¶
This section is empty.
Functions ¶
func GetIso3166CountryCodes ¶ added in v0.6.0
func GetIso3166CountryCodes() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.