- class kopf.cli.CLIControls(ready_flag=None, stop_flag=None, vault=None, registry=None, settings=None, loop=None)
KopfRunnercontrols, which are impossible to pass via CLI.
- class kopf.cli.LogFormatParamType
- convert(value, param, ctx)
Convert the value to the correct type. This is not called if the value is
None(the missing value).
This must accept string values from the command line, as well as values that are already the correct type. It may also convert other compatible types.
ctxarguments may be
Nonein certain situations, such as when converting prompt input.
If the value cannot be converted, call
fail()with a descriptive message.