package git
import "github.com/moby/buildkit/source/git"
Index ¶
- func NewSource(opt Opt) (source.Source, error)
- func Supported() error
- type GitIdentifier
- func NewGitIdentifier(remoteURL string) (*GitIdentifier, error)
- func (id *GitIdentifier) Capture(c *provenance.Capture, pin string) error
- func (GitIdentifier) Scheme() string
- type Opt
Functions ¶
func NewSource ¶
func Supported ¶
func Supported() error
Supported returns nil if the system supports Git source
Types ¶
type GitIdentifier ¶
type GitIdentifier struct { Remote string Ref string Subdir string KeepGitDir bool AuthTokenSecret string AuthHeaderSecret string MountSSHSock string KnownSSHHosts string }
func NewGitIdentifier ¶
func NewGitIdentifier(remoteURL string) (*GitIdentifier, error)
func (*GitIdentifier) Capture ¶
func (id *GitIdentifier) Capture(c *provenance.Capture, pin string) error
func (GitIdentifier) Scheme ¶
func (GitIdentifier) Scheme() string
type Opt ¶
Source Files ¶
- Version
- v0.17.0-rc2
- Published
- Oct 28, 2024
- Platform
- js/wasm
- Imports
- 34 packages
- Last checked
- 12 hours ago –
Tools for package owners.