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.
Click to show internal directories.
Click to hide internal directories.