{"modulePath":"github.com/kcp-dev/virtual-workspace-framework","version":"v0.34.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package handler\n\nPackage handler provides a virtual workspace server that operates at the level of one http.Handler, allowing for low-level transformations of the incoming requests.\n\n## Types\n\n```go\ntype HandlerFactory func(rootAPIServerConfig genericapiserver.CompletedConfig) (http.Handler, error)\n```\nHandlerFactory creates an HTTP handler using the root API server configuration, for dynamic registration.\n\n```go\ntype VirtualWorkspace struct {\n\tframework.RootPathResolver\n\tauthorizer.Authorizer\n\tadmission.Mutator\n\tadmission.Validator\n\tframework.ReadyChecker\n\tHandlerFactory\n}\n```\n\n```go\nfunc (v *VirtualWorkspace) Register(vwName string, rootAPIServerConfig genericapiserver.CompletedConfig, delegateAPIServer genericapiserver.DelegationTarget) (genericapiserver.DelegationTarget, error)\n```\n\n","path":"github.com/kcp-dev/virtual-workspace-framework/pkg/handler","name":"handler","synopsis":"Package handler provides a virtual workspace server that operates at the level of one http.Handler, allowing for low-level transformations of the incoming requests.","isRedistributable":true}
