Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneToBucketOptions ¶
type CloneToBucketOptions struct { TransformerOptions []normalpath.TransformerOption RecurseSubmodules bool }
CloneToBucketOptions are options for Clone.
type Cloner ¶
type Cloner interface { // CloneToBucket clones the repository to the bucket. // // The url must contain the scheme, including file:// if necessary. CloneToBucket( ctx context.Context, envContainer app.EnvContainer, url string, refName RefName, readWriteBucket storage.ReadWriteBucket, options CloneToBucketOptions, ) error }
Cloner clones git repositories to buckets.
type ClonerOptions ¶
type ClonerOptions struct { HTTPSUsernameEnvKey string HTTPSPasswordEnvKey string SSHKeyFileEnvKey string SSHKnownHostsFilesEnvKey string }
ClonerOptions are options for a new Cloner.
type RefName ¶
type RefName interface {
// contains filtered or unexported methods
}
RefName is a reference name.
func NewBranchRefName ¶
NewBranchRefName returns a new RefName for the branch.
func NewTagRefName ¶
NewTagRefName returns a new RefName for the tag.
Click to show internal directories.
Click to hide internal directories.