MCPcopy Create free account
hub / github.com/docker/cli / configs

Function configs

cli/compose/loader/full-struct_test.go:508–533  ·  view source on GitHub ↗
(workingDir string)

Source from the content-addressed store, hash-verified

506}
507
508func configs(workingDir string) map[string]types.ConfigObjConfig {
509 return map[string]types.ConfigObjConfig{
510 "config1": {
511 File: workingDir + "/config_data",
512 Labels: map[string]string{
513 "foo": "bar",
514 },
515 },
516 "config2": {
517 Name: "my_config",
518 External: types.External{External: true},
519 },
520 "config3": {
521 Name: "config3",
522 External: types.External{External: true},
523 },
524 "config4": {
525 Name: "foo",
526 File: workingDir,
527 Extras: map[string]any{
528 "x-bar": "baz",
529 "x-foo": "bar",
530 },
531 },
532 }
533}
534
535func secrets(workingDir string) map[string]types.SecretConfig {
536 return map[string]types.SecretConfig{

Callers 1

fullExampleConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…