Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { *mux.Router DataStore dataservices.DataStore KubernetesClientFactory *cli.ClientFactory JwtService dataservices.JWTService // contains filtered or unexported fields }
Handler is the HTTP handler which will natively deal with to external environments(endpoints).
func NewHandler ¶
func NewHandler(bouncer *security.RequestBouncer, authorizationService *authorization.Service, dataStore dataservices.DataStore, jwtService dataservices.JWTService, kubeClusterAccessService kubernetes.KubeClusterAccessService, kubernetesClientFactory *cli.ClientFactory, kubernetesClient portainer.KubeClient) *Handler
NewHandler creates a handler to process pre-proxied requests to external APIs.
Click to show internal directories.
Click to hide internal directories.