kubevirt

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 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 KubeVirtClusterConfigProvider

type KubeVirtClusterConfigProvider struct {
	config.Provider
}

KubeVirtClusterConfigProvider is responsible for providing the current KubeVirt cluster config

func NewKubeVirtConfigProvider

func NewKubeVirtConfigProvider(stopCh chan struct{}, clientset kubernetes.Interface, kubevirtNamespace string) KubeVirtClusterConfigProvider

NewKubeVirtConfigProvider creates new KubeVirt config provider that will ensure that the provided config is up to date

func (*KubeVirtClusterConfigProvider) GetConfig

GetConfig provides the most current KubeVirt config

type KubeVirtConfig

type KubeVirtConfig struct {
	config.Config
	FeatureGates string
}

KubeVirtConfig stores KubeVirt runtime configuration

func NewKubeVirtConfig

func NewKubeVirtConfig(configMap v1.ConfigMap) KubeVirtConfig

NewKubeVirtConfig creates new KubeVirt and initializes it with given configMap

func NewKubeVirtConfigFrom

func NewKubeVirtConfigFrom(config config.Config) KubeVirtConfig

NewKubeVirtConfigFrom creates new KubeVirt and initializes it with given Config

func (*KubeVirtConfig) ImportWithoutTemplateEnabled

func (c *KubeVirtConfig) ImportWithoutTemplateEnabled() bool

ImportWithoutTemplateEnabled returns true if ImportWithoutTemplate KubeVirt feature gate is enabled

type KubeVirtConfigProvider

type KubeVirtConfigProvider interface {
	GetConfig() (KubeVirtConfig, error)
}

KubeVirtConfigProvider defines KubeVirt config access operations

Jump to

Keyboard shortcuts

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