Documentation
¶
Index ¶
- func VerifyArtifact(ctx context.Context, provenance []byte, artifactHash string, ...) ([]byte, *utils.TrustedBuilderID, error)
- func VerifyImage(ctx context.Context, artifactImage string, provenance []byte, ...) ([]byte, *utils.TrustedBuilderID, error)
- func VerifyNpmPackage(ctx context.Context, attestations []byte, tarballHash string, ...) ([]byte, *utils.TrustedBuilderID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyArtifact ¶
func VerifyArtifact(ctx context.Context, provenance []byte, artifactHash string, provenanceOpts *options.ProvenanceOpts, builderOpts *options.BuilderOpts, ) ([]byte, *utils.TrustedBuilderID, error)
func VerifyImage ¶
func VerifyImage(ctx context.Context, artifactImage string, provenance []byte, provenanceOpts *options.ProvenanceOpts, builderOpts *options.BuilderOpts, ) ([]byte, *utils.TrustedBuilderID, error)
func VerifyNpmPackage ¶ added in v2.1.0
func VerifyNpmPackage(ctx context.Context, attestations []byte, tarballHash string, provenanceOpts *options.ProvenanceOpts, builderOpts *options.BuilderOpts, ) ([]byte, *utils.TrustedBuilderID, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.