Documentation ¶
Index ¶
- func ArchiveImages(ctx context.Context, log logrus.FieldLogger, archivePath string, dryRun bool, ...) (int, int, error)
- func CopyImages(ctx context.Context, log logrus.FieldLogger, dryRun bool, images []string, ...) (int, int, error)
- func ExtractAddons(ctx context.Context, log logrus.FieldLogger, addonImageName string) (string, error)
- func GetCNIPlugins() []*kubermaticv1.CNIPluginSettings
- func GetCloudSpecs() []kubermaticv1.CloudSpec
- func GetImagesForHelmChart(log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, ...) ([]string, error)
- func GetImagesForHelmCharts(ctx context.Context, log logrus.FieldLogger, ...) ([]string, error)
- func GetImagesForVersion(log logrus.FieldLogger, clusterVersion *version.Version, ...) (images []string, err error)
- func GetImagesFromSystemApplicationDefinitions(logger logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, ...) ([]string, error)
- func GetVersions(log logrus.FieldLogger, config *kubermaticv1.KubermaticConfiguration, ...) ([]*version.Version, error)
- func LoadImages(ctx context.Context, log logrus.FieldLogger, archivePath string, dryRun bool, ...) error
- type ImageSourceDest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveImages ¶ added in v2.24.0
func CopyImages ¶ added in v2.24.0
func ExtractAddons ¶ added in v2.22.0
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)
Types ¶
type ImageSourceDest ¶ added in v2.22.0
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)
Click to show internal directories.
Click to hide internal directories.