listgenerator

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 14 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 {
	RancherVersion string // Rancher version, should be va.b.c
	MinKubeVersion string // Minimum kube verision, should be va.b.c

	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.

	InsecureSkipVerify bool // Skip TLS Verify.

	// Generated linux images, map[image]map[source]true
	LinuxImages map[string]map[string]bool
	// Generated windows images, map[image]map[source]true
	WindowsImages map[string]map[string]bool

	RKE1Versions map[string]bool // Generated RKE1 versions
	RKE2Versions map[string]bool // Generated RKE2 versions
	K3sVersions  map[string]bool // Generated K3s versions
}

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

func (*Generator) Generate

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

Jump to

Keyboard shortcuts

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