providerinterregationreport

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL