Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v1.45.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 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 CloudConfig added in v1.35.2

type CloudConfig struct {
	// Kubeconfig used to connect to the cluster that runs KubeVirt
	Kubeconfig string `yaml:"kubeconfig"`
}

func (*CloudConfig) String added in v1.35.2

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

type RawConfig

type RawConfig struct {
	Kubeconfig       providerconfigtypes.ConfigVarString `json:"kubeconfig,omitempty"`
	CPUs             providerconfigtypes.ConfigVarString `json:"cpus,omitempty"`
	Memory           providerconfigtypes.ConfigVarString `json:"memory,omitempty"`
	Namespace        providerconfigtypes.ConfigVarString `json:"namespace,omitempty"`
	SourceURL        providerconfigtypes.ConfigVarString `json:"sourceURL,omitempty"`
	PVCSize          providerconfigtypes.ConfigVarString `json:"pvcSize,omitempty"`
	StorageClassName providerconfigtypes.ConfigVarString `json:"storageClassName,omitempty"`
	DNSPolicy        providerconfigtypes.ConfigVarString `json:"dnsPolicy,omitempty"`
	DNSConfig        *corev1.PodDNSConfig                `json:"dnsConfig,omitempty"`
}

func GetConfig added in v1.44.0

func GetConfig(pconfig providerconfigtypes.Config) (*RawConfig, error)

Jump to

Keyboard shortcuts

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