Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // True == // False == error // Unknown == transitioning TransitioningUnknown = map[string]string{ "Active": "activating", "AddonDeploy": "provisioning", "AgentDeployed": "provisioning", "BackingNamespaceCreated": "configuring", "Built": "building", "CertsGenerated": "provisioning", "ConfigOK": "configuring", "Created": "creating", "CreatorMadeOwner": "configuring", "DefaultNamespaceAssigned": "configuring", "DefaultNetworkPolicyCreated": "configuring", "DefaultProjectCreated": "configuring", "DockerProvisioned": "provisioning", "Deployed": "deploying", "Drained": "draining", "Downloaded": "downloading", "etcd": "provisioning", "Inactive": "deactivating", "Initialized": "initializing", "Installed": "installing", "NodesCreated": "provisioning", "Pending": "pending", "PodScheduled": "scheduling", "Provisioned": "provisioning", "Reconciled": "reconciling", "Refreshed": "refreshed", "Registered": "registering", "Removed": "removing", "Saved": "saving", "Updated": "updating", "Updating": "updating", "Upgraded": "upgrading", "Waiting": "waiting", "InitialRolesPopulated": "activating", "ScalingActive": "pending", "AbleToScale": "pending", "RunCompleted": "running", "Processed": "processed", } // True == error // False == // Unknown == ErrorTrue = map[string]bool{ "OutOfDisk": true, "MemoryPressure": true, "DiskPressure": true, "NetworkUnavailable": true, "KernelHasNoDeadlock": true, "Unschedulable": true, "ReplicaFailure": true, "Stalled": true, } // True == // False == error // Unknown == ErrorFalse = map[string]bool{ "Failed": true, } // True == // False == transitioning // Unknown == error TransitioningFalse = map[string]string{ "Completed": "activating", "Ready": "unavailable", "Available": "updating", "BootstrapReady": reason, "InfrastructureReady": reason, "NodeHealthy": reason, } // True == transitioning // False == // Unknown == error TransitioningTrue = map[string]string{ "Reconciling": "reconciling", } Summarizers []Summarizer ConditionSummarizers []Summarizer )
Functions ¶
func NormalizeConditions ¶
Types ¶
type Relationship ¶
type SummarizedObject ¶
type SummarizedObject struct { metav1.PartialObjectMetadata Summary }
func Summarized ¶
func Summarized(u runtime.Object) *SummarizedObject
func (*SummarizedObject) DeepCopy ¶
func (in *SummarizedObject) DeepCopy() *SummarizedObject
func (*SummarizedObject) DeepCopyInto ¶
func (in *SummarizedObject) DeepCopyInto(out *SummarizedObject)
func (*SummarizedObject) DeepCopyObject ¶
func (in *SummarizedObject) DeepCopyObject() runtime.Object
type SummarizedObjectList ¶
type SummarizedObjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []SummarizedObject `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*SummarizedObjectList) DeepCopy ¶
func (in *SummarizedObjectList) DeepCopy() *SummarizedObjectList
func (*SummarizedObjectList) DeepCopyInto ¶
func (in *SummarizedObjectList) DeepCopyInto(out *SummarizedObjectList)
func (*SummarizedObjectList) DeepCopyObject ¶
func (in *SummarizedObjectList) DeepCopyObject() runtime.Object
type Summarizer ¶
type Summary ¶
type Summary struct { State string `json:"state,omitempty"` Error bool `json:"error,omitempty"` Transitioning bool `json:"transitioning,omitempty"` Message []string `json:"message,omitempty"` Attributes map[string]interface{} `json:"-"` Relationships []Relationship `json:"-"` }
func (*Summary) DeepCopyInto ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.