Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOptions ¶
type ControllerOptions struct {
APIServerHost string
Kubeconfig string
Namespace string
LeaderElect bool
LeaderElectionNamespace string
LeaderElectionLeaseDuration time.Duration
LeaderElectionRenewDeadline time.Duration
LeaderElectionRetryPeriod time.Duration
EnabledControllers []string
WebhookPort int
HealthPort int
MetricPort int
// Path to TLS certificate and private key on disk.
// The server key and certificate must be named tls.key and tls.crt, respectively.
TLSCertDir string
// TLSCipherSuites is the list of allowed cipher suites for the server.
// Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants).
TLSCipherSuites []string
// MinTLSVersion is the minimum TLS version supported.
// Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants).
MinTLSVersion string
}
func (*ControllerOptions) InitFlags ¶
func (s *ControllerOptions) InitFlags(fs *pflag.FlagSet)
func (*ControllerOptions) Validate ¶
func (s *ControllerOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.