Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpenShift Build CRD OpenShiftBuildGroup = "build.openshift.io" OpenShiftBuildAPIVersion = "v1" OpenShiftBuildResource = "builds" // Kubevirt CRD KubevirtGroup = "kubevirt.io" KubevirtAPIVersion = "v1" VirtualMachineResource = "virtualmachines" VirtualMachineInstanceResource = "virtualmachineinstances" VirtualMachineInstanceReplicaSetResource = "virtualmachineinstancereplicasets" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnstructuredContent ¶
type UnstructuredContent struct { // Spec represents the unstructured object status Spec struct { Replicas int32 `json:"replicas,omitempty"` } `json:"spec"` // Status represents the unstructured object status Status struct { Phase string `json:"phase"` ReadyReplicas int32 `json:"readyReplicas,omitempty"` Conditions []Condition `json:"conditions,omitempty"` } `json:"status"` }
UnstructuredContent minimum unstructured object content to unmarshal the status phase of a CRD
Click to show internal directories.
Click to hide internal directories.