imagemetadata

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params HandlerParams) (*handler, error)

Types

type FetchImageMetadataPlan

type FetchImageMetadataPlan struct {
	Registry *configs.OCIRegistryRepository `json:"registry" validate:"required"`
	Tag      string                         `json:"tag" validate:"required"`

	IncludeIndex                bool `json:"include_index"`
	IncludeAttestationManifests bool `json:"include_attestation_manifests"`
	IncludeAttestationLayers    bool `json:"include_attestation_layers"`
}

FetchImageMetadataPlan is the local plan type matching the server-side plan. We define it locally to avoid import cycle issues with plantypes package.

type HandlerParams

type HandlerParams struct {
	fx.In

	V           *validator.Validate
	APIClient   nuonrunner.Client
	ErrRecorder *errs.Recorder
	Config      *runnerconfig.Config
}

Jump to

Keyboard shortcuts

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