Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCluster ¶
func NewCluster(spec *types.ClusterSpec) (*cluster, error)
NewCluster creates a Cluster from spec.
Types ¶
type Cluster ¶
type Cluster interface { // Setup configures and starts virtual data center Setup(ctx context.Context, r *vm.Runtime) error }
Cluster represents the interface to setup virtual data center
type NodeStatus ¶
type NodeStatus struct { Name string `json:"name"` Taps map[string]string `json:"taps"` Volumes []string `json:"volumes"` CPU int `json:"cpu"` Memory string `json:"memory"` UEFI bool `json:"uefi"` TPM bool `json:"tpm"` SMBIOS SMBIOSStatus `json:"smbios"` PowerStatus virtualbmc.PowerStatus `json:"power_status"` SocketPath string `json:"socket_path"` }
NodeStatus represents status of a Node
type SMBIOSStatus ¶
type SMBIOSStatus struct { Manufacturer string `json:"manufacturer"` Product string `json:"product"` Serial string `json:"serial"` }
SMBIOSStatus represents SMBIOS of a Node
Click to show internal directories.
Click to hide internal directories.