Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
type VM struct {
metav1.TypeMeta
ObjectMeta api.ObjectMeta
Spec VMSpec
Status VMStatus
}
func (*VM) GetObjectKind ¶
func (v *VM) GetObjectKind() schema.ObjectKind
Required to satisfy Object interface
func (*VM) GetObjectMeta ¶
func (v *VM) GetObjectMeta() meta.Object
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 ¶
type VMList struct {
metav1.TypeMeta
metav1.ListMeta
VMs []VM
}
func (*VMList) GetListMeta ¶
func (vl *VMList) GetListMeta() metav1.List
Required to satisfy ListMetaAccessor interface
func (*VMList) GetObjectKind ¶
func (vl *VMList) GetObjectKind() schema.ObjectKind
Required to satisfy Object interface
Click to show internal directories.
Click to hide internal directories.