Documentation
¶
Index ¶
- Variables
- func CheckPushPermissions(ctx context.Context, image string) error
- func GetImage(ctx context.Context, image string) (v1.Image, error)
- func GetImageConfig(ctx context.Context, image string) (*v1.ConfigFile, v1.Image, error)
- func GetImageConfigForArch(ctx context.Context, image, arch string) (*v1.ConfigFile, v1.Image, error)
- func GetImageForArch(ctx context.Context, image, arch string) (v1.Image, error)
- func GetImagePlatforms(ctx context.Context, image string) ([]string, error)
- func GetKeychain(ctx context.Context) (authn.Keychain, error)
- func IsValidDockerTag(tag string) bool
- func SanitizeRegistryError(err error) error
- func ValidateTags(tags []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DockerTagMaxSize = 128
)
Functions ¶
func GetImageConfig ¶
func GetImageConfigForArch ¶
func GetImageForArch ¶
func GetImagePlatforms ¶ added in v1.3.1
GetImagePlatforms returns the "os/arch" platforms a remote image reference supports. Multi-arch indexes return every entry; single-image manifests fall back to the config file's OS/Architecture.
func IsValidDockerTag ¶
func SanitizeRegistryError ¶ added in v1.1.0
func ValidateTags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.