images

package
v2.22.13 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 65 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyImage added in v2.22.0

func CopyImage(ctx context.Context, log logrus.FieldLogger, image ImageSourceDest, userAgent string) 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

list all the cloudSpecs for all the Cloud providers for which we are currently using the external CCM/CSI.

func GetImagesForHelmChart added in v2.22.0

func GetImagesForHelmChart(log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, helmClient helm.Client, chartPath string, valuesFile string, registryPrefix 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) ([]string, error)

func GetImagesForVersion

func GetImagesForVersion(log logrus.FieldLogger, clusterVersion *version.Version, cloudSpec kubermaticv1.CloudSpec, cniPlugin *kubermaticv1.CNIPluginSettings, konnectivityEnabled bool, config *kubermaticv1.KubermaticConfiguration, addonsPath string, 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 ProcessImages

func ProcessImages(ctx context.Context, log logrus.FieldLogger, dryRun bool, images []string, registry string, userAgent string) (int, int, 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