Discover Packages
github.com/kubeshop/testkube
pkg
git
package
Version:
v1.16.23-beta002
Opens a new window with list of versions in this module.
Published: Jan 17, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Checkout(uri, authHeader, branch, commit, dir)
CheckoutCommit(uri, authHeader, path, commit, dir)
PartialCheckout(uri, authHeader, path, branch, commit, dir)
Types
Source Files
Documentation
Documentation
¶
TODO consider checkout by some go-git library to limit external deps in docker container
in time writing code "github.com/src-d/go-git" didn't have any filter options
"github.com/go-git/go-git/v5" also
func Checkout(uri, authHeader, branch, commit, dir string) (outputDir string, err error)
func CheckoutCommit(uri, authHeader, path, commit, dir string) (err error)
func PartialCheckout(uri, authHeader, path, branch, commit, dir string) (outputDir string, err error)
func Checkout(uri, authHeader, branch, commit, dir string ) (outputDir string , err error )
Checkout will checkout directory from Git repository
func CheckoutCommit(uri, authHeader, path, commit, dir string ) (err error )
CheckoutCommit checks out specific commit
func PartialCheckout(uri, authHeader, path, branch, commit, dir string ) (outputDir string , err error )
PartialCheckout will checkout only given directory from Git repository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.