gitcloner

package
v0.14.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(gitCloner CloneGit) *cobra.Command

Types

type CloneGit

type CloneGit interface {
	CloneRepo(opts *GitCloner) error
}

type Cloner

type Cloner struct{}

func New

func New() *Cloner

func (*Cloner) CloneRepo

func (c *Cloner) CloneRepo(opts *GitCloner) error

type GitCloner

type GitCloner struct {
	Repo                  string
	Path                  string
	Branch                string
	Revision              string
	CABundleFile          string
	Username              string
	PasswordFile          string
	SSHPrivateKeyFile     string
	InsecureSkipTLS       bool
	GitHubAppID           int64
	GitHubAppInstallation int64
	GitHubAppKeyFile      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL