Documentation ¶
Index ¶
- func CopyImage(ctx context.Context, log logrus.FieldLogger, image ImageSourceDest, ...) 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 ProcessImages(ctx context.Context, log logrus.FieldLogger, dryRun bool, images []string, ...) (int, int, error)
- type ImageSourceDest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyImage ¶
func CopyImage(ctx context.Context, log logrus.FieldLogger, image ImageSourceDest, userAgent string) error
func ExtractAddons ¶
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 ¶
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 ¶
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 ¶
func GetImageSourceDestList ¶
func GetImageSourceDestList(ctx context.Context, log logrus.FieldLogger, images []string, registry string) ([]ImageSourceDest, error)
func RewriteImage ¶
func RewriteImage(log logrus.FieldLogger, sourceImage, registry string) (ImageSourceDest, error)
Click to show internal directories.
Click to hide internal directories.