credentialhelper

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger logging.Logger, opts ...Options) (engine.Plugin, error)

Types

type KeyRewriter

type KeyRewriter func(serverURL string) (secrets.ID, error)

KeyRewriter provides a credential-helper credential ID (a server URL). The server URL can consist of an http or https prefix and may end with a trailing forward-slash

type Options

type Options func(*credentialHelperStore)

func WithKeyRewriter

func WithKeyRewriter(rewriter KeyRewriter) Options

func WithShellProgramFunc

func WithShellProgramFunc(f client.ProgramFunc) Options

Jump to

Keyboard shortcuts

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