MCPcopy Create free account
hub / github.com/efficientgo/e2e / MergeFlagsWithoutRemovingEmpty

Function MergeFlagsWithoutRemovingEmpty

cli.go:23–32  ·  view source on GitHub ↗
(inputs ...map[string]string)

Source from the content-addressed store, hash-verified

21}
22
23func MergeFlagsWithoutRemovingEmpty(inputs ...map[string]string) map[string]string {
24 output := map[string]string{}
25
26 for _, input := range inputs {
27 for name, value := range input {
28 output[name] = value
29 }
30 }
31 return output
32}
33
34func BuildArgs(flags map[string]string) []string {
35 args := make([]string, 0, len(flags))

Callers 6

NewParcaFunction · 0.92
NewPrometheusFunction · 0.92
NewThanosQuerierFunction · 0.92
NewThanosSidecarFunction · 0.92
NewThanosStoreFunction · 0.92
MergeFlagsFunction · 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…