Documentation ¶
Index ¶
- Constants
- Variables
- func CreateSecret(w http.ResponseWriter, r *http.Request)
- func DeleteSecret(w http.ResponseWriter, r *http.Request)
- func GetSecretDetails(w http.ResponseWriter, r *http.Request)
- func GetSecretsByNameSpace(w http.ResponseWriter, r *http.Request)
- func GetVersion(w http.ResponseWriter, r *http.Request)
- func Init()
- func InitLocal()
Constants ¶
View Source
const AppLabel = "app"
View Source
const PayloadLabel = "shhh"
View Source
const SecretoLabel = "secreto"
View Source
const Version = 1.0
Variables ¶
View Source
var ClientSet kubernetes.Interface
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.