Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // EtcdComponents is the configuration required for etcdcomponents webhook. EtcdComponents *etcdcomponents.Config }
Config defines the configuration for etcd-druid webhooks.
func (*Config) AtLeaseOneEnabled ¶
AtLeaseOneEnabled returns true if at least one webhook is enabled. NOTE for contributors: For every new webhook, add a disjunction condition with the webhook's Enabled field.
func (*Config) InitFromFlags ¶
InitFromFlags initializes the webhook config from the provided CLI flag set.
Click to show internal directories.
Click to hide internal directories.