deprecation

package
v1.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// By default, GAed feature gates are considered enabled and no-op.
	GA = "General Availability"
	// The feature is going to be discontinued next release
	Deprecated     = "Deprecated"
	Discontinued   = "Discontinued"
	WarningPattern = "feature gate %s is deprecated (feature state is %q), therefore it can be safely removed and is redundant. " +
		"For more info, please look at: https://github.com/kubevirt/kubevirt/blob/main/docs/deprecation.md"
)
View Source
const (
	LiveMigrationGate      = "LiveMigration"      // GA
	SRIOVLiveMigrationGate = "SRIOVLiveMigration" // GA
	NonRoot                = "NonRoot"            // GA
	PSA                    = "PSA"                // GA
	CPUNodeDiscoveryGate   = "CPUNodeDiscovery"   // GA
	PasstGate              = "Passt"              // Deprecated
	MacvtapGate            = "Macvtap"            // Deprecated
)
View Source
const MacvtapDeprecationMessage = "Macvtap network binding will be deprecated next release. Please refer to Kubevirt user guide for alternatives."
View Source
const PasstDeprecationMessage = "Passt network binding will be deprecated next release. Please refer to Kubevirt user guide for alternatives."

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureGate

type FeatureGate struct {
	Name        string
	State       State
	VmiSpecUsed func(spec *v1.VirtualMachineInstanceSpec) bool
	Message     string
}

func FeatureGateInfo

func FeatureGateInfo(featureGate string) *FeatureGate

type State

type State string

Jump to

Keyboard shortcuts

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