listgenerator

package
v1.8.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {

	// All generated images, map[image]map[source]true
	LinuxImages   map[string]map[string]bool
	WindowsImages map[string]map[string]bool

	RKE1LinuxImages   map[string]map[string]bool
	RKE2LinuxImages   map[string]map[string]bool
	K3sLinuxImages    map[string]map[string]bool
	RKE2WindowsImages map[string]map[string]bool

	RKE1Versions map[string]bool
	RKE2Versions map[string]bool
	K3sVersions  map[string]bool
	// contains filtered or unexported fields
}

Generator is a generator to generate image list from charts, KDM data, etc.

func NewGenerator added in v1.7.3

func NewGenerator(o *GeneratorOption) (*Generator, error)

func (*Generator) Run added in v1.7.3

func (g *Generator) Run(ctx context.Context) error

type GeneratorOption added in v1.7.3

type GeneratorOption struct {
	RancherVersion string
	MinKubeVersion string

	ChartsPaths map[string]chartimages.ChartRepoType // map[url]type
	ChartURLs   map[string]struct {
		Type   chartimages.ChartRepoType
		Branch string
	}

	KDMPath string // The path of KDM data.json file.
	KDMURL  string // The remote URL of KDM data.json.

	InsecureSkipTLS     bool
	RemoveDeprecatedKDM bool
}

Jump to

Keyboard shortcuts

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