imageversions

package
v2.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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[string]ComponentConfig `yaml:"components"`
	// contains filtered or unexported fields
}

Config represents a default image mapping used by the operator.

func (*Config) GetVersions

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

type Configs added in v2.2.0

type Configs []*Config

Configs is a list of Config, where later

func FromConfigMap added in v2.1.0

func FromConfigMap(ctx context.Context, client client.Client, name types.NamespacedName) (Configs, error)

func (Configs) GetVersions added in v2.2.0

func (c Configs) GetVersions(base string, osImage string) ([]kusttypes.Image, bool)

type OsMatch

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

Jump to

Keyboard shortcuts

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