Documentation
¶
Index ¶
- type Remote
- func (remote *Remote) Pull(ctx context.Context, desc ocispec.Descriptor, byDigest bool) (io.ReadCloser, error)
- func (remote *Remote) Push(ctx context.Context, desc ocispec.Descriptor, byDigest bool, reader io.Reader) error
- func (remote *Remote) Resolve(ctx context.Context) (*ocispec.Descriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remote ¶
type Remote struct { Ref string // contains filtered or unexported fields }
Remote provides the ability to access remote registry
func (*Remote) Pull ¶
func (remote *Remote) Pull(ctx context.Context, desc ocispec.Descriptor, byDigest bool) (io.ReadCloser, error)
Pull pulls blob from registry
Click to show internal directories.
Click to hide internal directories.