kubernetes

package
v0.0.0-...-270f78c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 20 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL