Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
type VM struct { unversioned.TypeMeta ObjectMeta api.ObjectMeta Spec VMSpec Status VMStatus }
func (*VM) GetObjectKind ¶
func (v *VM) GetObjectKind() unversioned.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 unversioned.Time `json:"lastProbeTime,omitempty"` LastTransitionTime unversioned.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 ¶
type VMList struct { unversioned.TypeMeta unversioned.ListMeta VMs []VM }
func (*VMList) GetListMeta ¶
func (vl *VMList) GetListMeta() unversioned.List
Required to satisfy ListMetaAccessor interface
func (*VMList) GetObjectKind ¶
func (vl *VMList) GetObjectKind() unversioned.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.