feature

package
v5.0.0-...-9132319 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProviderAWS           = "aws"
	ProviderAzure         = "azure"
	ProviderKVM           = "kvm"
	ProviderOpenStack     = "openstack"
	ProviderCAPA          = "capa"
	ProviderCAPZ          = "capz"
	ProviderCloudDirector = "cloud-director"
	ProviderVSphere       = "vspshere"
)
View Source
const (
	Autoscaling = "autoscaling"
)
View Source
const (
	NodePoolConditions = "nodepool-conditions"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability struct {
	MinVersion string
}

Capability contains a provider's requirements for a feature to be supported.

type Feature

type Feature map[string]Capability

Feature is a collection of different requirements for supporting a functionality on different providers.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is used to compute different provider capabilities.

func New

func New(provider string) *Service

func (*Service) Provider

func (s *Service) Provider() string

func (*Service) Supports

func (s *Service) Supports(featureName string, releaseVersion string) bool

Supports checks if a certain feature is supported or not on a given workload cluster release version.

Jump to

Keyboard shortcuts

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