package
0.19.0
Repository: https://github.com/moby/buildkit.git
Documentation: pkg.go.dev

# Functions

New initializes a new git client.
ParseGitRef parses a git ref.
ParseURL parses a BuildKit-style Git URL (that may contain additional fragment metadata) and returns a parsed GitURL object.
WithArgs sets extra args.
WithDir sets working directory.
WithExec sets the command exec function.
WithGitBinary sets the git binary path.
WithGitDir sets the --git-dir arg.
WithSSHAuthSock sets the ssh auth sock.
WithSSHKnownHosts sets the known hosts file.
WithStreams configures a callback for getting the streams for a command.
WithWorkTree sets the --work-tree arg.

# Constants

# Variables

# Structs

GitCLI carries config to pass to the git cli to make running multiple commands less repetitive.
GitRef represents a git ref.
URL is a custom URL type that points to a remote Git repository.
GitURLFragment is the buildkit-specific metadata extracted from the fragment of a remote URL.

# Type aliases

Option provides a variadic option for configuring the git client.