Documentation ¶
Overview ¶
Package flags implements the webhook server TLS options utilities.
Package flags implements the webhook server TLS options utilities.
Index ¶
- func AddDiagnosticsOptions(fs *pflag.FlagSet, options *DiagnosticsOptions)
- func AddTLSOptions(fs *pflag.FlagSet, options *TLSOptions)
- func GetDiagnosticsOptions(options DiagnosticsOptions) metricsserver.Options
- func GetTLSOptionOverrideFuncs(options TLSOptions) ([]func(*tls.Config), error)
- type DiagnosticsOptions
- type TLSOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDiagnosticsOptions ¶ added in v1.6.0
func AddDiagnosticsOptions(fs *pflag.FlagSet, options *DiagnosticsOptions)
AddDiagnosticsOptions adds the diagnostics flags to the flag set.
func AddTLSOptions ¶
func AddTLSOptions(fs *pflag.FlagSet, options *TLSOptions)
AddTLSOptions adds the webhook server TLS configuration flags to the flag set.
func GetDiagnosticsOptions ¶ added in v1.6.0
func GetDiagnosticsOptions(options DiagnosticsOptions) metricsserver.Options
GetDiagnosticsOptions returns metrics options which can be used to configure a Manager.
func GetTLSOptionOverrideFuncs ¶
func GetTLSOptionOverrideFuncs(options TLSOptions) ([]func(*tls.Config), error)
GetTLSOptionOverrideFuncs returns a list of TLS configuration overrides to be used by the webhook server.
Types ¶
type DiagnosticsOptions ¶ added in v1.6.0
type DiagnosticsOptions struct { // MetricsBindAddr // // Deprecated: This field will be removed in an upcoming release. MetricsBindAddr string DiagnosticsAddress string InsecureDiagnostics bool }
DiagnosticsOptions has the options to configure diagnostics.
type TLSOptions ¶
TLSOptions has the options to configure the TLS settings for a webhook server.
Click to show internal directories.
Click to hide internal directories.