Help us shape the future of Go! Take the 2026 Go Developer Survey

skel

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PluginMain

func PluginMain(name, version string, verifyReference VerifyReference, supportedVersions []string)

PluginMain is the core "main" for a plugin which includes error handling.

Types

type CmdArgs

type CmdArgs struct {
	Version string
	Subject string

	StdinData []byte
	// contains filtered or unexported fields
}

CmdArgs describes arguments that are passed when the plugin is invoked

type VerifyReference

type VerifyReference func(args *CmdArgs, subjectReference common.Reference, referenceDescriptor ocispecs.ReferenceDescriptor, referrerStore referrerstore.ReferrerStore) (*verifier.VerifierResult, error)

Jump to

Keyboard shortcuts

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