Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterregationReport ¶
type InterregationReport struct { Nodes []v1.Node Provider providers.ProviderType ClusterName string Workspace string Datacenter string }
func NewInterregationReport ¶
func NewInterregationReport(nodes []v1.Node) (*InterregationReport, error)
InterregateCluster interregates the cluster and returns a report containing the provider, cluster name, workspace and datacenter of the cluster
Parameters: - nodes []v1.Node: the nodes in the cluster v1.Node from k8s.io/api/core/v1
func (*InterregationReport) GetProvider ¶
func (c *InterregationReport) GetProvider() providers.ProviderType
Click to show internal directories.
Click to hide internal directories.