git

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSourceCodeRepository

func NewSourceCodeRepository(config SourceCodeRepositoryConfig) (storage.SourceCodeRepository, error)

NewSourceCodeRepository returns a Git based SourceCodeRepository.

Types

type SourceCodeRepositoryConfig

type SourceCodeRepositoryConfig struct {
	URL          string
	BranchOrTag  string
	Dir          string
	AuthUsername string
	AuthPassword string
}

Jump to

Keyboard shortcuts

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