Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNetworkConfig ¶
GenerateNetworkConfig will generate the cloud-init network config from the vm spec.
Types ¶
type MachineMetrics ¶
type MachineMetrics struct {
Namespace string `json:"Namespace"`
MachineName string `json:"MachineName"`
MachineUID string `json:"MachineUID"`
Data Metrics `json:"Data"`
}
func (MachineMetrics) ToPrometheus ¶
func (mm MachineMetrics) ToPrometheus() []byte
Click to show internal directories.
Click to hide internal directories.