cidn

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBlobInformer added in v0.0.40

func WithBlobInformer(informer informers.BlobInformer) option

func WithChunkInformer added in v0.0.40

func WithChunkInformer(informer informers.ChunkInformer) option

func WithClient added in v0.0.40

func WithClient(client versioned.Interface) option

func WithDestination added in v0.0.40

func WithDestination(dest string) option

func WithMaximumRunning added in v0.0.40

func WithMaximumRunning(max int64) option

func WithMinimumChunkSize added in v0.0.40

func WithMinimumChunkSize(size int64) option

Types

type CIDN

type CIDN struct {
	// contains filtered or unexported fields
}

func NewCIDN added in v0.0.40

func NewCIDN(opts ...option) (*CIDN, error)

func (*CIDN) Blob

func (c *CIDN) Blob(ctx context.Context, host, image, digest string, forceAcceptRanges bool, priority int64) error

func (*CIDN) ManifestDigest

func (c *CIDN) ManifestDigest(ctx context.Context, host, image, digest, manifest string, priority int64) error

func (*CIDN) ManifestTag

func (c *CIDN) ManifestTag(ctx context.Context, host, image, tag string, priority int64) (*Response, error)

type Response

type Response struct {
	StatusCode int
	Headers    map[string]string
}

Jump to

Keyboard shortcuts

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