MCPcopy
hub / github.com/containerd/containerd / GetCredentials

Method GetCredentials

core/transfer/registry/registry.go:175–175  ·  view source on GitHub ↗
(ctx context.Context, ref, host string)

Source from the content-addressed store, hash-verified

173// From stream
174type CredentialHelper interface {
175 GetCredentials(ctx context.Context, ref, host string) (Credentials, error)
176}
177
178type Credentials struct {

Callers 3

NewOCIRegistryFunction · 0.65
MarshalAnyMethod · 0.65
UnmarshalAnyMethod · 0.65

Implementers 3

credCallbackcore/transfer/registry/registry.go
criCredentialsinternal/cri/server/images/image_pull.
staticCredentialscmd/ctr/commands/resolver.go

Calls

no outgoing calls

Tested by

no test coverage detected