distribution

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0.

Index

Constants

View Source
const (
	ReferenceTypeManifest = "Manifest"
	ReferenceTypeBlob     = "Blob"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReferenceType

type ReferenceType string

ReferenceType is the type of reference - manifest or blob.

func ParsePathComponents

func ParsePathComponents(registry, path string) (string, digest.Digest, ReferenceType, error)

ParsePathComponents parses the registry, digest and reference type from a distribution path.

Jump to

Keyboard shortcuts

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