MCPcopy
hub / github.com/containerd/containerd / staticCredentials

Struct staticCredentials

cmd/ctr/commands/resolver.go:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154type staticCredentials struct {
155 ref string
156 username string
157 secret string
158}
159
160// NewStaticCredentials gets credentials from passing in cli context
161func NewStaticCredentials(ctx context.Context, cliContext *cli.Context, ref string) (registry.CredentialHelper, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected