Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIntField ¶
GetIntField return field as string defaulting to value if not found
Types ¶
type BasicCondition ¶
type BasicCondition struct { // Type Condition type Type string `json:"type"` // Status is one of True,False,Unknown Status string `json:"status"` // Reason simple single word reason in CamleCase // +optional Reason string `json:"reason,omitempty"` // Message human readable reason // +optional Message string `json:"message,omitempty"` }
BasicCondition fields that are expected in a condition
type ConditionStatus ¶
type ConditionStatus struct { // Array of Conditions as expected to be present in kubernetes resources Conditions []BasicCondition `json:"conditions"` }
ConditionStatus represent status with condition array
type ObjWithConditions ¶
type ObjWithConditions struct { // Status as expected to be present in most compliant kubernetes resources Status ConditionStatus `json:"status"` }
ObjWithConditions Represent meta object with status.condition array
func GetObjectWithConditions ¶
func GetObjectWithConditions(in map[string]interface{}) *ObjWithConditions
GetObjectWithConditions return typed object
Click to show internal directories.
Click to hide internal directories.