Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) NeedLeaderElection ¶
type WebhookOpts ¶
func (*WebhookOpts) AddFlags ¶
func (opts *WebhookOpts) AddFlags(fs *flag.FlagSet)
func (*WebhookOpts) Server ¶
func (opts *WebhookOpts) Server( ctx context.Context, log *zap.SugaredLogger, namespace string, workerName string, seedsGetter provider.SeedsGetter, seedClientGetter provider.SeedClientGetter, migrationModeEnabled bool) (*Server, error)
Server returns a Server that validates AdmissionRequests for Seed CRs. When migrationModeEnabled is enabled, only creating new seeds is allowed, not changing or deleting existing.
Click to show internal directories.
Click to hide internal directories.