Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Injector toggle and listen path to generate AdmissionWebhookAnnotationInjectKey = "injector.tyk.io/inject" // Internally used by mesh to track API IDs and state AdmissionWebhookAnnotationStatusKey = "injector.tyk.io/status" AdmissionWebhookAnnotationInboundServiceIDKey = "injector.tyk.io/inbound-service-id" AdmissionWebhookAnnotationMeshServiceIDKey = "injector.tyk.io/mesh-service-id" // Advanced mesh keys for group access policies TBC AdmissionWebhookAnnotationGroupKey = "injector.tyk.io/group" AdmissionWebhookAnnotationAllowedCallerGroups = "injector.tyk.io/caller-access-groups" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookServer ¶
type WebhookServer struct { SidecarConfig *Config CAConfig *ca.Config CAClient ca.CertClient }
func (*WebhookServer) Serve ¶
func (whsvr *WebhookServer) Serve(w http.ResponseWriter, r *http.Request)
Serve method for webhook server
Click to show internal directories.
Click to hide internal directories.