types

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 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 {
	Global GlobalOpts
}

CloudConfig contains only the section global.

func (*CloudConfig) ToString

func (cc *CloudConfig) ToString() (string, error)

ToString renders the cloud configuration as string.

type GlobalOpts

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

GlobalOpts contains the values of the global section of the cloud configuration.

type RawConfig

type RawConfig struct {
	Kubeconfig types.ConfigVarString `json:"kubeconfig,omitempty"`
}

RawConfig is a direct representation of an Kubevirt machine object's configuration

Jump to

Keyboard shortcuts

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