kubevirt

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	// Kubeconfig used to connect to the cluster that runs KubeVirt
	Kubeconfig string `yaml:"kubeconfig"`
	// Namespace used in KubeVirt cloud-controller-manager as infra cluster namespace.
	Namespace string `yaml:"namespace"`
	// InstancesV2 used in KubeVirt cloud-controller-manager as metadata information about the infra cluster nodes
	InstancesV2 InstancesV2 `yaml:"instancesV2"`
}

func ForCluster

func ForCluster(cluster *kubermaticv1.Cluster, dc *kubermaticv1.Datacenter) CloudConfig

func (*CloudConfig) String

func (c *CloudConfig) String() (string, error)

type InstancesV2 added in v2.26.1

type InstancesV2 struct {
	ZoneAndRegionEnabled bool `yaml:"zoneAndRegionEnabled"`
}

Jump to

Keyboard shortcuts

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