service

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheydService

type CacheydService struct {
	Cache         cache.CachingService
	IgnoredImages map[string]struct{}
	IgnoredTags   map[string]struct{}
}

func (*CacheydService) GetBlob

func (s *CacheydService) GetBlob(object *model.ObjectIdentifier, isHead bool, headers *http.Header, w http.ResponseWriter)

func (*CacheydService) GetManifest

func (s *CacheydService) GetManifest(object *model.ObjectIdentifier, isHead bool, headers *http.Header, w http.ResponseWriter)

type Non200Error

type Non200Error struct {
	Code int
}

func (*Non200Error) Error

func (e *Non200Error) Error() string

func (*Non200Error) Is

func (e *Non200Error) Is(tgt error) bool

type Service

type Service interface {
	GetManifest(object *model.ObjectIdentifier, isHead bool, headers *http.Header, w http.ResponseWriter)
	GetBlob(object *model.ObjectIdentifier, isHead bool, headers *http.Header, w http.ResponseWriter)
}

Jump to

Keyboard shortcuts

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