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
}
Click to show internal directories.
Click to hide internal directories.