Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginMain ¶
func PluginMain(name, version string, listReferrers ListReferrers, getBlobContent GetBlobContent, getRefManifest GetReferenceManifest, getSubDesc GetSubjectDescriptor, supportedVersions []string)
PluginMain is the core "main" for a plugin which includes error handling.
Types ¶
type CmdArgs ¶
type CmdArgs struct { Version string Subject string Args string StdinData []byte // contains filtered or unexported fields }
CmdArgs describes different arguments that are passed when store plugin is invoked.
type GetBlobContent ¶
type GetReferenceManifest ¶
type GetSubjectDescriptor ¶
type ListReferrers ¶
type ListReferrers func(args *CmdArgs, subjectReference common.Reference, artifactTypes []string, nextToken string, subjectDesc *ocispecs.SubjectDescriptor) (*referrerstore.ListReferrersResult, error)
Click to show internal directories.
Click to hide internal directories.