notation

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotationPluginVerifierConfig

type NotationPluginVerifierConfig struct {
	Name          string `json:"name"`
	ArtifactTypes string `json:"artifactTypes"`

	// VerificationCerts is array of directories containing certificates.
	VerificationCerts []string `json:"verificationCerts"`
	// VerificationCerts is map defining which keyvault certificates belong to which trust store
	VerificationCertStores map[string][]string `json:"verificationCertStores"`
	// TrustPolicyDoc represents a trustpolicy.json document. Reference: https://pkg.go.dev/github.com/notaryproject/notation-go@v0.12.0-beta.1.0.20221125022016-ab113ebd2a6c/verifier/trustpolicy#Document
	TrustPolicyDoc trustpolicy.Document `json:"trustPolicyDoc"`
}

NotationPluginVerifierConfig describes the configuration of notation verifier

type RatifyPluginManager

type RatifyPluginManager struct {
	// contains filtered or unexported fields
}

Implements interface defined in https://github.com/notaryproject/notation-go/blob/main/plugin/manager.go#L20

func NewRatifyPluginManager

func NewRatifyPluginManager(directory string) *RatifyPluginManager

func (*RatifyPluginManager) Get

Returns a notation Plugin for the given name if present in the target directory

func (*RatifyPluginManager) List

Lists available notation plugins in the target directory

Jump to

Keyboard shortcuts

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