gitcreds

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SSHKnownHosts = "known_hosts"
)

Variables

This section is empty.

Functions

func NewBuilder

func NewBuilder() credentials.Builder

Types

type GitConfigBuilder

type GitConfigBuilder struct{}

func (*GitConfigBuilder) MatchingAnnotations

func (dcb *GitConfigBuilder) MatchingAnnotations(secret *corev1.Secret) []string

MatchingAnnotations extracts flags for the credential helper from the supplied secret and returns a slice (of length 0 or greater) of applicable domains.

func (*GitConfigBuilder) Write

func (dcb *GitConfigBuilder) Write() error

Jump to

Keyboard shortcuts

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