crproxy

package
v0.13.0-alpha.101 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 17 Imported by: 0

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 WithCaches

func WithCaches(caches ...*cache.Cache) Option

func WithDeep

func WithDeep(deep bool) Option

func WithDomainAlias

func WithDomainAlias(domainAlias map[string]string) Option

func WithExcludeTags

func WithExcludeTags(excludeTags []*regexp.Regexp) Option

func WithFilterPlatform

func WithFilterPlatform(filterPlatform func(pf manifestlist.PlatformSpec) bool) Option

func WithLogger

func WithLogger(logger *slog.Logger) Option

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)

func (*SyncManager) Image

func (c *SyncManager) Image(ctx context.Context, image string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL