image

package
v4.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package image provides functionality for managing container image operations in KubeKey. This file contains repository-related code for handling both remote OCI registries and local directory storage of container images.

The repository module supports: - Remote registry connections with authentication - Local directory-based image storage (OCI layout) - HTTP transport layer for local image operations

Index

Constants

View Source
const (
	// PolicyStrict: all requested platforms must exist in the image, otherwise return error.
	// This is the default policy.
	PolicyStrict = "strict"
	// PolicyWarn: log warning if some requested platforms are missing, but continue copying.
	PolicyWarn = "warn"
)

Variables

This section is empty.

Functions

func ModuleImage

func ModuleImage(ctx context.Context, opts internal.ExecOptions) (string, string, error)

ModuleImage handles the "image" module, managing container image operations including pulling, pushing, and copying images between registries and local directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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