Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LayerNameGit is the name of the layer that is used to store git environment variables.
LayerNameGit = "git"
)
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(executable Executable, credentialManager CredentialManager, logger scribe.Emitter) packit.BuildFunc
func Detect ¶
func Detect(bindingResolver BindingResolver) packit.DetectFunc
Types ¶
type BindingResolver ¶ added in v0.4.0
type BindingResolver interface {
Resolve(typ, provider, platformDir string) ([]servicebindings.Binding, error)
}
type CredentialManager ¶ added in v0.4.0
type Executable ¶
type GitCredentialManager ¶ added in v0.4.0
type GitCredentialManager struct {
// contains filtered or unexported fields
}
func NewGitCredentialManager ¶ added in v0.4.0
func NewGitCredentialManager(bindingResolver BindingResolver, executable Executable, logs scribe.Emitter) GitCredentialManager
func (GitCredentialManager) Setup ¶ added in v0.4.0
func (g GitCredentialManager) Setup(workingDir, platformDir string) error
Click to show internal directories.
Click to hide internal directories.