Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDownloadList ¶
type ImageDownloadList struct {
Security map[string]map[string]*puller.ImageMeta
// contains filtered or unexported fields
}
func NewImageDownloadList ¶
func NewImageDownloadList(rootURL string) *ImageDownloadList
func (*ImageDownloadList) FillSecurityImages ¶
func (l *ImageDownloadList) FillSecurityImages()
type ImageLayouts ¶
type ImageLayouts struct {
Security map[string]*regimage.ImageLayout
// contains filtered or unexported fields
}
func NewImageLayouts ¶
func NewImageLayouts(rootFolder string) *ImageLayouts
func (*ImageLayouts) AsList ¶
func (l *ImageLayouts) AsList() []layout.Path
AsList returns a list of layout.Path's in it. Undefined path's are not included in the list.
type Options ¶ added in v0.24.3
type Options struct {
// BundleDir is the directory to store the bundle
BundleDir string
// BundleChunkSize is the max size of bundle chunks in bytes (0 = no chunking)
BundleChunkSize int64
// Timeout is the timeout for the security access check
Timeout time.Duration
// DryRun prints the pull plan without downloading any image blobs
DryRun bool
}
Options contains configuration options for the security service
type SecurityStats ¶ added in v0.30.20
SecurityStats is the security phase's accounting, mapped into the top-level summary by the pull orchestrator.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) PullSecurity ¶
PullSecurity pulls the security databases It validates access to the registry and pulls the security database images
func (*Service) Stats ¶ added in v0.30.20
func (svc *Service) Stats() SecurityStats
Stats returns accounting for the security phase. It reports whether security databases are available in the source edition; for available editions it reports planned counts in dry-run (enqueued database sets) and actual counts in a real pull (databases whose layout received at least one manifest, captured before packing in Service.pulledDatabases).