imageversions

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 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 Component

type Component string
const (
	LinstorController Component = "linstor-controller"
	LinstorSatellite  Component = "linstor-satellite"
	LinstorCSI        Component = "linstor-csi"
	DrbdReactor       Component = "drbd-reactor"
	DrbdModuleLoader  Component = "drbd-module-loader"
)

type ComponentConfig

type ComponentConfig struct {
	Tag   string    `yaml:"tag"`
	Match []OsMatch `yaml:"match"`
	Image string    `yaml:"image"`
}

type Config

type Config struct {
	Base       string                        `yaml:"base"`
	Components map[Component]ComponentConfig `yaml:"components"`
}

Config represents a default image mapping used by the operator.

func (*Config) GetVersions

func (f *Config) GetVersions(base string, osImage string) ([]kusttypes.Image, error)

type OsMatch

type OsMatch struct {
	OsImage string `yaml:"osImage"`
	Image   string `yaml:"image"`
}

Jump to

Keyboard shortcuts

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