github.com/openshift/installer@v1.4.17/pkg/types/vsphere/metadata.go (about)

     1  package vsphere
     2  
     3  // Metadata contains vSphere metadata (e.g. for uninstalling the cluster).
     4  type Metadata struct {
     5  	// VCenter is the domain name or IP address of the vCenter.
     6  	VCenter string `json:"vCenter,omitempty"`
     7  	// Username is the name of the user to use to connect to the vCenter.
     8  	Username string `json:"username,omitempty"`
     9  	// Password is the password for the user to use to connect to the vCenter.
    10  	Password string `json:"password,omitempty"`
    11  	// TerraformPlatform is the type...
    12  	TerraformPlatform string `json:"terraform_platform"`
    13  	// VCenters collection of vcenters when multi vcenter support is enabled
    14  	VCenters []VCenters
    15  }
    16  
    17  // VCenters contains information on individual vcenter.
    18  type VCenters struct {
    19  	// VCenter is the domain name or IP address of the vCenter.
    20  	VCenter string `json:"vCenter"`
    21  	// Username is the name of the user to use to connect to the vCenter.
    22  	Username string `json:"username"`
    23  	// Password is the password for the user to use to connect to the vCenter.
    24  	Password string `json:"password"`
    25  }