Documentation ¶
Index ¶
- type Option
- func WithCache(cache *cache.Cache) Option
- func WithDeep(deep bool) Option
- func WithDomainAlias(domainAlias map[string]string) Option
- func WithFilterPlatform(filterPlatform func(pf manifestlist.PlatformSpec) bool) Option
- func WithLogger(logger *slog.Logger) Option
- func WithTransport(transport http.RoundTripper) Option
- type SyncManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*SyncManager)
func WithDomainAlias ¶
func WithFilterPlatform ¶
func WithFilterPlatform(filterPlatform func(pf manifestlist.PlatformSpec) bool) Option
func WithLogger ¶
func WithTransport ¶
func WithTransport(transport http.RoundTripper) Option
type SyncManager ¶
type SyncManager struct {
// contains filtered or unexported fields
}
func NewSyncManager ¶
func NewSyncManager(opts ...Option) (*SyncManager, error)
Click to show internal directories.
Click to hide internal directories.