middleware

package
v0.0.0-...-65a3087 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AppLabel = "app"
View Source
const PayloadLabel = "shhh"
View Source
const SecretoLabel = "secreto"
View Source
const Version = 1.0

Variables

Functions

func CreateSecret

func CreateSecret(w http.ResponseWriter, r *http.Request)

Create Secret creates a secret with data passed in the request

func DeleteSecret

func DeleteSecret(w http.ResponseWriter, r *http.Request)

DeleteSecret deletes a secret by a given name and namespace

func GetSecretDetails

func GetSecretDetails(w http.ResponseWriter, r *http.Request)

GetSecretDetails returns a given secret with detailed information

func GetSecretsByNameSpace

func GetSecretsByNameSpace(w http.ResponseWriter, r *http.Request)

GetSecretsByNameSpace returns all secrets for a given namespace containing name, namespace, and createdtime

func GetVersion

func GetVersion(w http.ResponseWriter, r *http.Request)

GetVersion returns the version of the Web-Server

func Init

func Init()

Init creates the In-Cluster configuration to use the application within the cluster

func InitLocal

func InitLocal()

InitLocal creates the local configuration to use the application locally

Types

This section is empty.

Jump to

Keyboard shortcuts

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