referrer

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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