images

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageDigests

func GetImageDigests(task model.PharosScanTask2) (string, string, string, error)

return platform specific digests for image given imageRef (docker.io/redis:latest) and platform ("linux/amd64") return

  • indexDigest (general)
  • manifestDigest (platform specific)

func GetImageDigests(imageRef, platform string, auth model.PharosRepoAuth, tlsCheck bool) (string, string, error) {

func SplitPlatformStr

func SplitPlatformStr(input string) (string, string, string)

split "linux/amd64" or "linux/arm/v6" to OS, architecture, variant

Types

This section is empty.

Jump to

Keyboard shortcuts

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