Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HandlerName is the name of this authorization webhook handler. HandlerName = "seedauthorizer" // WebhookPath is the HTTP handler path for this authorization webhook handler. WebhookPath = "/webhooks/auth/seed" )
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizer ¶
func NewAuthorizer(logger logr.Logger, graph graph.Interface, authorizeWithSelectors authorizerwebhook.WithSelectorsChecker) *authorizer
NewAuthorizer returns a new authorizer for requests from gardenlets. It never has an opinion on the request.
Types ¶
type Webhook ¶ added in v1.107.0
type Webhook struct {
Logger logr.Logger
ClientSet kubernetes.Interface
Handler http.Handler
Authorizer auth.Authorizer
}
Webhook represents the webhook of Seed Authorizer.
Click to show internal directories.
Click to hide internal directories.