Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*SyncManager)
func WithClient ¶
func WithDomainAlias ¶
func WithLogger ¶
type Progress ¶
type Progress struct { Digest string `json:"digest,omitempty"` Size int64 `json:"size,omitempty"` Status string `json:"status,omitempty"` Platform *manifestlist.PlatformSpec `json:"platform,omitempty"` Name string `json:"name,omitempty"` }
type SyncManager ¶
type SyncManager struct {
// contains filtered or unexported fields
}
func NewSyncManager ¶
func NewSyncManager(opts ...Option) (*SyncManager, error)
func (*SyncManager) Image ¶
func (c *SyncManager) Image(ctx context.Context, image string, filter func(pf manifestlist.PlatformSpec) bool, cb func(sp Progress) error) error
Click to show internal directories.
Click to hide internal directories.