Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(client client.Client, certificateOpts certificate.Options, serverOpts ...ServerModifier) (*Server, error)
Add creates a new Conditions Mutating Webhook and adds it to the Manager. The Manager will set fields on the Webhook and Start it when the Manager is Started.
func (*Server) NeedLeaderElection ¶
func (*Server) UpdateOpts ¶
func (s *Server) UpdateOpts(serverOpts ...ServerModifier)
updates Server parameters using ServerModifier functions. Once the manager is started these parameters cannot be updated
type ServerModifier ¶
func WithCertDir ¶
func WithCertDir(certDir string) ServerModifier
func WithPort ¶
func WithPort(port int) ServerModifier
Click to show internal directories.
Click to hide internal directories.