Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunServer ¶
func RunServer(opts *WebhookServerOptions, stopCh <-chan struct{}) error
RunServer runs the webhook server with configuration according to opts
Types ¶
type WebhookServerOptions ¶
type WebhookServerOptions struct { SecureServingOptions *genericserveroptions.SecureServingOptions ReleaseName string HealthzServerBindPort int }
WebhookServerOptions holds configuration for mutating/validating webhook server.
func NewWebhookServerOptions ¶
func NewWebhookServerOptions() *WebhookServerOptions
NewWebhookServerOptions creates a new WebhookServerOptions with a default settings.
func (*WebhookServerOptions) AddFlags ¶
func (s *WebhookServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a WebhookServerOptions to the specified FlagSet.
func (*WebhookServerOptions) Validate ¶
func (s *WebhookServerOptions) Validate() error
Validate checks all subOptions flags have been set and that they have not been set in a conflictory manner.
Click to show internal directories.
Click to hide internal directories.