import "istio.io/istio/pkg/webhooks/validation/controller"
Package controller implements a k8s controller for managing the lifecycle of a validating webhook.
const QuitSignal = "unblock client on queue.Get return and exit the current go routine"
type Controller struct {
// contains filtered or unexported fields
}
func (c *Controller) Start(stop <-chan struct{})
type Options struct { // Istio system namespace where istiod resides. WatchedNamespace string // Periodically resync with the kube-apiserver. Set to zero to disable. ResyncPeriod time.Duration // File path to the x509 certificate bundle used by the webhook server // and patched into the webhook config. CAPath string // Name of the k8s validatingwebhookconfiguration resource. This should // match the name in the config template. WebhookConfigName string // Name of the service running the webhook server. ServiceName string // RemoteWebhookConfig defines whether the webhook config is coming from remote cluster RemoteWebhookConfig bool }
String produces a stringified version of the arguments for debugging.
Validate the options that exposed to end users
Package controller imports 36 packages (graph) and is imported by 4 packages. Updated 2020-11-22. Refresh now. Tools for package owners.