Documentation
¶
Overview ¶
Package referrer is used for responses to the referrers to a manifest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReferrerList ¶
type ReferrerList struct {
Ref ref.Ref `json:"ref"` // reference queried
Descriptors []types.Descriptor `json:"descriptors"` // descriptors found in Index
Annotations map[string]string `json:"annotations,omitempty"` // annotations extracted from Index
Manifest manifest.Manifest `json:"-"` // returned OCI Index
Tags []string `json:"-"` // tags matched when fetching referrers
}
func (ReferrerList) MarshalPretty ¶
func (rl ReferrerList) MarshalPretty() ([]byte, error)
MarshalPretty is used for printPretty template formatting
Click to show internal directories.
Click to hide internal directories.