crproxy

package
v0.13.0-alpha.25 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 15 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 WithCache

func WithCache(cache *cache.Cache) Option

func WithDeep

func WithDeep(deep bool) Option

func WithDomainAlias

func WithDomainAlias(domainAlias map[string]string) 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