(workingDir string)
| 506 | } |
| 507 | |
| 508 | func 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 | |
| 535 | func secrets(workingDir string) map[string]types.SecretConfig { |
| 536 | return map[string]types.SecretConfig{ |
no outgoing calls
no test coverage detected
searching dependent graphs…