Documentation
¶
Index ¶
- Constants
- func Build(reference Reference) (string, error)
- func CanonicalRepository(value string) (string, error)
- func FileRepository(value string) (string, error)
- func Matches(selector, atom Reference) bool
- func RepositoryFilePath(value string) (string, error)
- func Validate(reference Reference) error
- type Reference
Constants ¶
View Source
const Scheme = "saga-diff"
Variables ¶
This section is empty.
Functions ¶
func CanonicalRepository ¶
CanonicalRepository returns the portable identity persisted in manifests and diff URIs. Authentication userinfo is deliberately discarded.
func FileRepository ¶
FileRepository constructs a canonical file repository URI for a local path.
func RepositoryFilePath ¶
RepositoryFilePath resolves a canonical file repository URI on this host.
Types ¶
Click to show internal directories.
Click to hide internal directories.