Documentation
¶
Index ¶
- Constants
- func IsAllowedMediaType(mediaType string) bool
- type Oci
- func (o *Oci) GetManifest(descriptor *v1.Descriptor) (*v1.Manifest, error)
- func (o *Oci) GetStore() *oci.Store
- func (o *Oci) GetTarballAndConfigLayerDescriptor(ctx context.Context, descriptor *v1.Descriptor) (*v1.Descriptor, *v1.Descriptor, error)
- func (o *Oci) ListReferences() (map[string]v1.Descriptor, error)
- func (o *Oci) Pull(ref string) (digest.Digest, error)
- func (o *Oci) Push(ref string) (digest.Digest, error)
- func (o *Oci) Tag(existingRef, newRef string) error
- func (o *Oci) Untag(descr *v1.Descriptor, ref string) error
Constants ¶
View Source
const ( MediaTypeImageLayer = "application/vnd.oci.image.layer.v1.tar+gzip" MediaTypeConfig = "application/vnd.oci.image.config.v1+json" )
Variables ¶
This section is empty.
Functions ¶
func IsAllowedMediaType ¶
Types ¶
type Oci ¶
type Oci struct {
// contains filtered or unexported fields
}
func (*Oci) GetManifest ¶
func (*Oci) GetTarballAndConfigLayerDescriptor ¶
func (o *Oci) GetTarballAndConfigLayerDescriptor( ctx context.Context, descriptor *v1.Descriptor, ) ( *v1.Descriptor, *v1.Descriptor, error, )
func (*Oci) ListReferences ¶
func (o *Oci) ListReferences() (map[string]v1.Descriptor, error)
Click to show internal directories.
Click to hide internal directories.