docker-ref

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0

README

docker-ref

GitHub Workflow Status go.dev reference built with nix

A library for parsing Docker image references.

This library is extracted from the distribution project (from this commit).

It's sole purpose is to allow parsing Docker image references without having to import the entire distribution project with all of its dependencies.

Installation

go get github.com/sagikazarmark/docker-ref

Development

For an optimal developer experience, it is recommended to install Nix and direnv.

Run the test suite:

just test

Prior art

There are some existing solutions out there, but I decided it's easier if I just fork the repo myself.

License

The project is licensed under the Apache 2.0 License.

Directories

Path Synopsis
Package reference provides a general type to represent any way of referencing images within the registry.
Package reference provides a general type to represent any way of referencing images within the registry.

Jump to

Keyboard shortcuts

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