package
2.10.18+incompatible
Repository: https://github.com/kosli-dev/cli.git
Documentation: pkg.go.dev
# Functions
DirSha256 returns sha256 digest of a directory.
DockerImageSha256 returns a sha256 digest of a docker image.
FileSha256 returns a sha256 digest of a file.
RemoteDockerImageSha256 returns a sha256 digest of a docker image by reading it from remote docker registry.
ValidateDigest checks if a digest matches the sha256 regex.
# Variables
ErrRepoDigestUnavailable returned when repo digest is not available.