Usage:`A JSON map value to use as the entirety of the request's attributes map. Usually this will be sourced from a file via "file://" syntax. Is exclusive with the other attr flags.`,
})
case"attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value attribute to add to the request's attributes map. The type is automatically inferred. Use -string-attr, -bool-attr, or -num-attr if the type needs to be overridden. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"string-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"string-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value string attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"bool-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"bool-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value bool attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"num-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"num-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value numeric attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:`A JSON map value to use as the entirety of the request's secrets map. Usually this will be sourced from a file via "file://" syntax. Is exclusive with the other secret flags.`,
})
case"secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value secret to add to the request's secrets map. The type is automatically inferred. Use -string-secret, -bool-secret, or -num-secret if the type needs to be overridden. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"string-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"string-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value string secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"bool-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"bool-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value bool secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"num-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"num-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value numeric secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
}
}
// FlagNames is the set of flag names
FlagNames[]string
// FullPopulationFlag is the string var to set if a fully-specified map is
// supplied, e.g. "attributes"
FullPopulationFlag*string
// FullPopulationInputName is the name of the flag when setting a
// fully-specified map; also used for generating help texts
FullPopulationInputNamestring
// PiecewisePopulationFlag is the var that is built up via the combination
Usage:`A JSON map value to use as the entirety of the request's object map. Usually this will be sourced from a file via "file://" syntax. Is exclusive with the other kv flags.`,
caseinput.FullPopulationInputName:
input.FlagSet.StringVar(&base.StringVar{
Name:input.FullPopulationInputName,
Target:input.FullPopulationFlag,
Usage:fmt.Sprintf(
"A JSON map value to use as the entirety of the request's %s map. "+
"Usually this will be sourced from a file via \"file://\" syntax. "+
Usage:`A key=value pair to add to the request's object map. The type is automatically inferred. Use -string-kv, -bool-kv, or -num-kv if the type needs to be overridden. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:fmt.Sprintf(
"A key=value pair to add to the request's %s map. "+
"The type is automatically inferred. Use -string-%s, -bool-%s, or -num-%s if the type needs to be overridden. "+
"Can be specified multiple times. "+
"Supports sourcing values from files via \"file://\" and env vars via \"env://\".",
Usage:`A key=value string value to add to the request's object map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:fmt.Sprintf(
"A key=value string value to add to the request's %s map. "+
"Can be specified multiple times. "+
"Supports sourcing values from files via \"file://\" and env vars via \"env://\"`.",
Usage:`A key=value bool value to add to the request's object map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:fmt.Sprintf(
"A key=value bool value to add to the request's %s map. "+
"Can be specified multiple times. "+
"Supports sourcing values from files via \"file://\" and env vars via \"env://\"`.",
Usage:`A key=value numeric value to add to the request's object map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:fmt.Sprintf(
"A key=value numeric value to add to the request's %s map. "+
"Can be specified multiple times. "+
"Supports sourcing values from files via \"file://\" and env vars via \"env://\"`.",