Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageMetaResolver ¶
type ImageMetaResolver interface {
ResolveImageConfig(ctx context.Context, ref string, opt Opt) (string, digest.Digest, []byte, error)
}
func NewImageMetaResolver ¶
func NewImageMetaResolver(mr MetaResolver) ImageMetaResolver
type MetaResolver ¶
type MetaResponse ¶
type MetaResponse struct { Op *pb.SourceOp Image *ResolveImageResponse }
type Opt ¶
type Opt struct { LogName string SourcePolicies []*spb.Policy Platform *ocispecs.Platform ImageOpt *ResolveImageOpt OCILayoutOpt *ResolveOCILayoutOpt }
type ResolveImageOpt ¶
type ResolveImageOpt struct {
ResolveMode string
}
type ResolveImageResponse ¶
type ResolveOCILayoutOpt ¶
type ResolveOCILayoutOpt struct {
Store ResolveImageConfigOptStore
}
type ResolverType ¶
type ResolverType int
const ( ResolverTypeRegistry ResolverType = iota ResolverTypeOCILayout )
Click to show internal directories.
Click to hide internal directories.