deckhouseversion

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name              extenders.ExtenderName = "DeckhouseVersion"
	RequirementsField string                 = "deckhouse"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Extender

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

func Instance

func Instance() *Extender

func (*Extender) AddConstraint

func (e *Extender) AddConstraint(name, rawConstraint string) error

func (*Extender) DeleteConstraint

func (e *Extender) DeleteConstraint(name string)

func (*Extender) Filter

func (e *Extender) Filter(name string, _ map[string]string) (*bool, error)

Filter implements Extender interface, it is used by scheduler in addon-operator

func (*Extender) IsTerminator

func (e *Extender) IsTerminator() bool

IsTerminator implements Extender interface, it is used by scheduler in addon-operator

func (*Extender) Name

func (e *Extender) Name() extenders.ExtenderName

Name implements Extender interface, it is used by scheduler in addon-operator

func (*Extender) ValidateBaseVersion

func (e *Extender) ValidateBaseVersion(baseVersion string) (string, error)

func (*Extender) ValidateRelease

func (e *Extender) ValidateRelease(releaseName, rawConstraint string) error

Jump to

Keyboard shortcuts

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