Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadServingConditionInfoConfiguration ¶
func LoadServingConditionInfoConfiguration() map[string][]ConditionInfo
func LoadServingKeyInfoConfiguration ¶
func LoadServingKeyInfoConfiguration() map[string][]string
Types ¶
type CRNode ¶
type CRNode struct {
Name string
GVR schema.GroupVersionResource
GetResourceName func(string) string
GetListOptions func([]string) metav1.ListOptions
Leaves []*CRNode
}
func NewCRNode ¶
func NewCRNode(name string, gvr schema.GroupVersionResource, f ...func(string) string) *CRNode
func (*CRNode) AddLeafNode ¶
func (t *CRNode) AddLeafNode(leaf *CRNode)
func (*CRNode) SetListOptions ¶
func (t *CRNode) SetListOptions(f func([]string) metav1.ListOptions)
type ConditionInfo ¶
type ConditionInfo struct {
Type string `json:"type"`
Expected string `json:"expected"`
}
type ConditionInfoConfig ¶
type ConditionInfoConfig struct {
Name string `json:"name"`
ConditionInfos []ConditionInfo `json:"conditionInfos"`
}
type KeyInfoConfiguration ¶
type KeyInfoConfiguration struct {
Name string `json:"name"`
KeyInfos []string `json:"keyInfos"`
}
type ObjectNode ¶
type ObjectNode struct {
CRName string
ObjectName string
Object *unstructured.Unstructured
Leaves []*ObjectNode
}
func NewObjectNode ¶
func NewObjectNode(crName, objectName string, object *unstructured.Unstructured) *ObjectNode
func (*ObjectNode) AddLeafNode ¶
func (t *ObjectNode) AddLeafNode(leaf *ObjectNode)
Click to show internal directories.
Click to hide internal directories.