git

package
v0.9.18 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSecretName = "gitcredential" //nolint:gosec // this is a resource name
)

Variables

This section is empty.

Functions

func LatestCommit

func LatestCommit(gitjob *gitjobv1.GitJob, secretGetter SecretGetter) (string, error)

Types

type SecretGetter

type SecretGetter interface {
	Get(string, string) (*v1.Secret, error)
}

Jump to

Keyboard shortcuts

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