Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func EnableWcp ¶
func EnableWcp(cfg VsphereConfig) bool
Types ¶
type Datastores ¶
type Datastores struct {
AllDatastores []Datastore `json:"value"`
}
type NetworkConfig ¶
type VsphereConfig ¶
type VsphereConfig struct { VcUser string VcPassword string VcIp string Cluster string Hosts []EsxConfig Size string MasterDNS []string WorkerDNS []string MasterNTP []string WorkerNTP []string MasterNetwork NetworkConfig ManagementNetwork NetworkConfig WorkerNetwork NetworkConfig MasterStore string // Only support using one datastore at this point WorkerStore string // Only support using one datastore at this point PodCidr Cidr ServiceCidr Cidr }
type WcpAddressRange ¶
type WcpNetwork ¶
type WcpNetwork struct { Range WcpAddressRange `json:"address_range"` Mode string `json:"mode"` VcNetwork string `json:"network"` }
type WcpSpec ¶
type WcpSpec struct { SizeHint string `json:"size_hint"` MasterDNS []string `json:"master_DNS"` MasterNTP []string `json:"master_NTP_servers"` MasterNetwork WcpNetwork `json:"master_cluster_network"` ManagementNetwork WcpNetwork `json:"master_management_network"` MasterStore []string `json:"master_storage"` PodCidr WcpCidr `json:"pod_cidr"` ServiceCidr WcpCidr `json:"service_cidr"` VxlanPort int `json:"vxlan_port"` WorkerDNS []string `json:"worker_DNS"` WorkerNTP []string `json:"worker_NTP_servers"` WorkerNetwork WcpNetwork `json:"worker_cluster_network"` WorkerStore []string `json:"worker_storage"` }
Click to show internal directories.
Click to hide internal directories.