package
0.12.2
Repository: https://github.com/projectsyn/lieutenant-api.git
Documentation: pkg.go.dev

# Functions

NewAPIServer instantiates a new Echo API server.

# Constants

AuthScheme to be used in the Authorization header.
DefaultAPISecretRefNameEnvVar is the name of the env var which specifies the default APISecretRef name.
AuthScheme to be used in the Authorization header.
LieutenantInstanceFact defines the name of the fact which specifies the Lieutenant instance a cluster was created on.
LieutenantInstanceFactEnvVar is the env var name that's used to get the instance name.

# Variables

DefaultKubernetesAuth uses the JWT bearer token to authenticate.

# Structs

APIConfig holds the config options for the API.
APIContext is a custom echo context.
APIImpl implements the API interface.
KubernetesAuth provides middleware to authenticate with Kubernetes JWT tokens.