Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
func (*VM) GetObjectKind ¶
func (v *VM) GetObjectKind() schema.ObjectKind
Required to satisfy Object interface
func (*VM) GetObjectMeta ¶
Required to satisfy ObjectMetaAccessor interface
type VMCondition ¶
type VMCondition struct { Type VMConditionType `json:"type"` Status api.ConditionStatus `json:"status"` LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` }
type VMConditionType ¶
type VMConditionType string
const ( // PodCreated means that the VM request was translated into a Pod which can be scheduled and started by // Kubernetes. PodCreated VMConditionType = "PodCreated" // VMReady means the pod is able to service requests and should be added to the // load balancing pools of all matching services. VMReady VMConditionType = "Ready" )
These are valid conditions of VMs.
type VMList ¶
func (*VMList) GetListMeta ¶
Required to satisfy ListMetaAccessor interface
func (*VMList) GetObjectKind ¶
func (vl *VMList) GetObjectKind() schema.ObjectKind
Required to satisfy Object interface
type VMStatus ¶
type VMStatus struct { NodeName string Conditions []VMCondition Phase VMPhase }
VMStatus represents information about the status of a VM. Status may trail the actual state of a system.
Click to show internal directories.
Click to hide internal directories.