Documentation ¶
Index ¶
- func CopyGraphWithProgress(ctx context.Context, src content.ReadOnlyStorage, dst oras.Target, ...) error
- func Extract(ctx context.Context, art Artifact) (fs.FS, error)
- func Push(ctx context.Context, artifact Artifact, target oras.Target, opts PushOptions) (ocispec.Descriptor, error)
- func Write(ctx context.Context, w io.Writer, a Artifact) (string, ocispec.Descriptor, error)
- type Artifact
- type Blob
- type MediaTyper
- type PushOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyGraphWithProgress ¶
func CopyGraphWithProgress(ctx context.Context, src content.ReadOnlyStorage, dst oras.Target, desc ocispec.Descriptor, progressWriter io.Writer) error
func Push ¶
func Push(ctx context.Context, artifact Artifact, target oras.Target, opts PushOptions) (ocispec.Descriptor, error)
Types ¶
type MediaTyper ¶
type MediaTyper interface {
MediaType() string
}
type PushOptions ¶
Click to show internal directories.
Click to hide internal directories.