Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob interface { Check() error Size() int64 FetchedSize() int64 ReadAt(p []byte, offset int64, opts ...Option) (int, error) Cache(offset int64, size int64, opts ...Option) error Refresh(ctx context.Context, host source.RegistryHosts, refspec reference.Spec, desc ocispec.Descriptor) error Close() error }
type Option ¶
type Option func(*options)
func WithCacheOpts ¶
func WithContext ¶
func WithRoundTripper ¶
func WithRoundTripper(tr http.RoundTripper) Option
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func NewResolver(cfg config.BlobConfig) *Resolver
Click to show internal directories.
Click to hide internal directories.