package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev
# Functions
Detect returns a context and dockerfile from remote location or local archive.
FromArchive returns a build source from a tar stream.
FullPath is a helper for getting a full path for a path from a source.
GetWithStatusError does an http.Get() and returns an error if the status code is 4xx or 5xx.
MakeGitContext returns a Context from gitURL that is cloned in a temporary directory.
NewFileHash returns new hash that is used for the builder cache keys.
NewLazySource creates a new LazyContext.
Rel makes a path relative to base path.
StatAt is a helper for calling Stat on a path from a source.
# Constants
ClientSessionRemote is identifier for client-session context transport.