Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterControlPlaneRef []string = []string{"spec", "controlPlaneRef"}
View Source
var ClusterInfrastructureRef []string = []string{"spec", "infrastructureRef"}
These should be treated as constants
View Source
var ControlPlaneMachineTemplateInfrastructureRef []string = []string{"spec", "machineTemplate", "infrastructureRef"}
View Source
var ControlPlaneVersion []string = []string{"spec", "version"}
View Source
var MachineDeploymentInfrastructureRef []string = []string{"spec", "template", "spec", "infrastructureRef"}
View Source
var MachineDeploymentVersion []string = []string{"spec", "template", "spec", "version"}
Functions ¶
This section is empty.
Types ¶
type ClusterGraph ¶
type ClusterGraph struct { Cluster *GraphNode InfrastructureCluster *GraphNode ControlPlane *GraphNode MachineTemplates map[string]map[string]*GraphNode MachineDeployments map[string]*GraphNode MachineSets map[string]*GraphNode Machines map[string]*GraphNode All map[string]map[string]*GraphNode }
func GetClusterGraph ¶
func (*ClusterGraph) AddToAll ¶
func (cg *ClusterGraph) AddToAll(gn *GraphNode) *GraphNode
func (*ClusterGraph) WalkMachineTemplates ¶
func (cg *ClusterGraph) WalkMachineTemplates(cb WalkResourceCb, arg interface{}) error
type GraphNode ¶
type GraphNode struct { Object *unstructured.Unstructured Children map[string]map[string]*GraphNode }
type WalkResourceCb ¶
Click to show internal directories.
Click to hide internal directories.