git

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Retriever

type Retriever struct {
	// contains filtered or unexported fields
}

func New

func New(tokens map[string]string, privateKeyFile string, password string) Retriever

New returns a retriever

func (Retriever) Clone added in v0.22.0

func (a Retriever) Clone(repo string) (r *git.Repository, err error)

func (Retriever) Resolve added in v0.22.0

func (a Retriever) Resolve(resource string) (string, error)

Resolve Resolves a git resource to its hash

func (Retriever) Retrieve

func (a Retriever) Retrieve(resource string) ([]byte, bool, error)

Jump to

Keyboard shortcuts

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