cosign

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureBinaryExists

func EnsureBinaryExists(ctx context.Context, bin embed.FS) error

func LoadImages

func LoadImages(ctx context.Context, s *store.Layout, registry string, ropts content.RegistryOptions) error

LoadImage loads store to a remote registry.

func RegistryLogin

func RegistryLogin(ctx context.Context, s *store.Layout, registry string, ropts content.RegistryOptions) error

RegistryLogin - performs cosign login

func RetryOperation

func RetryOperation(ctx context.Context, operation func() error) error

func SaveImage

func SaveImage(ctx context.Context, s *store.Layout, ref string, platform string) error

SaveImage saves image and any signatures/attestations to the store.

func VerifySignature

func VerifySignature(ctx context.Context, s *store.Layout, keyPath string, ref string) error

VerifyFileSignature verifies the digital signature of a file using Sigstore/Cosign.

Types

This section is empty.

Jump to

Keyboard shortcuts

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