MCPcopy Create free account
hub / github.com/docker/docker-credential-helpers / Program

Interface Program

client/command.go:10–13  ·  view source on GitHub ↗

Program is an interface to execute external programs.

Source from the content-addressed store, hash-verified

8
9// Program is an interface to execute external programs.
10type Program interface {
11 Output() ([]byte, error)
12 Input(in io.Reader)
13}
14
15// ProgramFunc is a type of function that initializes programs based on arguments.
16type ProgramFunc func(args ...string) Program

Callers 9

StoreFunction · 0.65
GetFunction · 0.65
EraseFunction · 0.65
ListFunction · 0.65
OutputMethod · 0.65
StoreFunction · 0.65
GetFunction · 0.65
EraseFunction · 0.65
ListFunction · 0.65

Implementers 2

mockProgramclient/client_test.go
Shellclient/command.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…