library

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LibraryRepo = "https://github.com/docker-library/official-images.git"

LibraryRepo is the Git URL to the official images repository.

Functions

This section is empty.

Types

type LibraryResolver

type LibraryResolver struct {
	// contains filtered or unexported fields
}

LibraryResolver attempts to resolve the source of a library Dockerfile.

func BuildLibraryResolver

func BuildLibraryResolver(cacheDir string) (*LibraryResolver, error)

BuildLibraryResolver sets up a library resolver given a temporary cache directory.

func NewLibraryResolver

func NewLibraryResolver(libraryPath string, repositoryDir string) *LibraryResolver

NewLibraryResolver builds a library resolver.

func (*LibraryResolver) GetLibrarySource

func (r *LibraryResolver) GetLibrarySource(ref reference.NamedTagged) (string, error)

GetLibrarySource clones the Dockerfile source for a library image.

Jump to

Keyboard shortcuts

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