images

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 70 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveImages added in v2.24.0

func ArchiveImages(ctx context.Context, log logrus.FieldLogger, archivePath string, dryRun bool, images []string) (int, int, error)

func CopyImages added in v2.24.0

func CopyImages(ctx context.Context, log logrus.FieldLogger, dryRun bool, images []string, registry string, userAgent string) (int, int, error)

func ExtractAddons added in v2.22.0

func ExtractAddons(ctx context.Context, log logrus.FieldLogger, addonImageName string) (string, error)

func GetCNIPlugins

func GetCNIPlugins() []*kubermaticv1.CNIPluginSettings

list all the supported CNI plugins along with their supported versions.

func GetCloudSpecs

func GetCloudSpecs() []kubermaticv1.CloudSpec

func GetImagesForHelmChart added in v2.22.0

func GetImagesForHelmChart(log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, helmClient helm.Client, chartPath string, valuesFile string, registryPrefix string, kubeVersion string) ([]string, error)

func GetImagesForHelmCharts

func GetImagesForHelmCharts(ctx context.Context, log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, helmClient helm.Client, chartsPath string, valuesFile string, registryPrefix string, kubeVersion string) ([]string, error)

func GetImagesForVersion

func GetImagesForVersion(log logrus.FieldLogger, clusterVersion *version.Version, cloudSpec kubermaticv1.CloudSpec, cniPlugin *kubermaticv1.CNIPluginSettings, konnectivityEnabled bool, config *kubermaticv1.KubermaticConfiguration, addons map[string]*addon.Addon, kubermaticVersions kubermatic.Versions, caBundle resources.CABundle, registryPrefix string) (images []string, err error)

func GetImagesFromSystemApplicationDefinitions added in v2.22.0

func GetImagesFromSystemApplicationDefinitions(logger logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, helmClient helm.Client, helmTimeout time.Duration, registryPrefix string) ([]string, error)

func GetVersions

func GetVersions(log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, versionFilter string) ([]*version.Version, error)

func LoadImages added in v2.24.0

func LoadImages(ctx context.Context, log logrus.FieldLogger, archivePath string, dryRun bool, registry string, userAgent string) error

Types

type ImageSourceDest added in v2.22.0

type ImageSourceDest struct {
	Source      string
	Destination string
}

func GetImageSourceDestList added in v2.22.0

func GetImageSourceDestList(ctx context.Context, log logrus.FieldLogger, images []string, registry string) ([]ImageSourceDest, error)

func RewriteImage added in v2.22.0

func RewriteImage(log logrus.FieldLogger, sourceImage, registry string) (ImageSourceDest, error)

Jump to

Keyboard shortcuts

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