Documentation ¶
Index ¶
- func ExtractTar(r *Registry, in io.Reader) error
- func TagsMap(tags []Tag) map[string]string
- type Image
- type ImageMetadata
- type Registry
- func (r Registry) AncestryFileName(hashid string) string
- func (r Registry) CreateAncestry(hashid string) error
- func (r Registry) EnsureRepoReady(name string) error
- func (r Registry) HasImage(hashid string) bool
- func (r Registry) HasRepository(name string) bool
- func (r Registry) ImagesFileName(name string) string
- func (r *Registry) Init() error
- func (r Registry) JsonFileName(hashid string) string
- func (r Registry) LayerFileName(hashid string) string
- func (r Registry) LayerTarsum(hashid string) (string, error)
- func (r Registry) RepositoryPath(name string) string
- func (r Registry) TagsFileName(name string) string
- func (r Registry) TarsumFileName(hashid string) string
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTar ¶
From a tar input, push it to the registry.Registry r
Types ¶
type ImageMetadata ¶
for the ./images/ file
type Registry ¶
type Registry struct { Version string Path string Info registry.RegistryInfo }
func (Registry) AncestryFileName ¶
func (Registry) CreateAncestry ¶
func (Registry) EnsureRepoReady ¶
func (Registry) HasRepository ¶
func (Registry) ImagesFileName ¶
func (Registry) JsonFileName ¶
func (Registry) LayerFileName ¶
func (Registry) RepositoryPath ¶
func (Registry) TagsFileName ¶
func (Registry) TarsumFileName ¶
Click to show internal directories.
Click to hide internal directories.