Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = 8443 DefaultInsecurePort = 8080 DefaultClientQPSLimit = 20 DefaultClientQPSBurst = 50 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Kubeconfig is the file path to the KubeConfig file to use. Only for out-of-cluster configuration. Kubeconfig string // Config is the file path to the PodSecurity configuration file. Config string ClientQPSLimit float32 ClientQPSBurst int SecureServing apiserveroptions.SecureServingOptions }
Options has all the params needed to run a PodSecurity webhook.
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.