Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { Config string `help:"Cerbos config file" group:"config" xor:"hostport,cacert,notls" env:"CERBOS_CONFIG"` Kind string `help:"Healthcheck kind (${enum})" default:"grpc" enum:"grpc,http" env:"CERBOS_HC_KIND"` HostPort string `help:"Host and port to connect to" group:"manual" xor:"hostport" env:"CERBOS_HC_HOSTPORT"` CACert string `help:"Path to CA cert for validating server cert" type:"existingfile" group:"manual" xor:"cacert" env:"CERBOS_HC_CACERT"` NoTLS bool `help:"Don't use TLS" group:"manual" xor:"notls" env:"CERBOS_HC_NOTLS"` Insecure bool `help:"Do not verify server certificate" default:"false" env:"CERBOS_HC_INSECURE"` Timeout time.Duration `help:"Healthcheck timeout" default:"2s" env:"CERBOS_HC_TIMEOUT"` }
Click to show internal directories.
Click to hide internal directories.