Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConfigFlags ¶
func AddConfigFlags(fs *pflag.FlagSet, c *config.WebhookConfiguration)
func AddGlobalFlags ¶
func NewWebhookConfiguration ¶
func NewWebhookConfiguration() (*config.WebhookConfiguration, error)
func ValidateWebhookFlags ¶
func ValidateWebhookFlags(f *WebhookFlags) error
Types ¶
type WebhookFlags ¶
type WebhookFlags struct { // Path to a file containing a WebhookConfiguration resource Config string }
WebhookFlags defines options that can only be configured via flags.
func NewWebhookFlags ¶
func NewWebhookFlags() *WebhookFlags
func (*WebhookFlags) AddFlags ¶
func (f *WebhookFlags) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.