installselectors

package
v0.0.0-...-33d5a37 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// ShouldUse will return true if the version selector should be used.
	ShouldUse() bool

	// Priority is the integer priority for the selector. The higher the integer,
	// the higher the priority. 0 is the minimum.
	Priority() int

	// SelectVersion will select a version to install.
	SelectVersion(versionList *spi.VersionList) (*semver.Version, string, error)

	String() string
}

Interface is the interface for version selection implementations for installs.

func GetVersionSelectors

func GetVersionSelectors() []Interface

GetVersionSelectors will return the registered version selectors for initial cluster installation.

Jump to

Keyboard shortcuts

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