types

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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 Auth added in v0.4.3

type Auth struct {
	Kubeconfig providerconfigtypes.ConfigVarString `json:"kubeconfig,omitempty"`
}

Auth

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"`

	// Namespace used in KubeVirt cloud-controller-manager as infra cluster namespace.
	Namespace string `yaml:"namespace"`
}

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

type RawConfig

type RawConfig struct {
	Auth Auth `json:"auth,omitempty"`
}

Jump to

Keyboard shortcuts

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