httphandler

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppRepository

func CreateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

CreateAppRepository creates App Repository

func DeleteAppRepository

func DeleteAppRepository(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

DeleteAppRepository deletes an App Repository

func GetNamespaces

func GetNamespaces(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

GetNamespaces return the list of namespaces

func GetOperatorLogo(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

GetOperatorLogo return the list of namespaces

func JSONError added in v1.10.1

func JSONError(w http.ResponseWriter, err interface{}, code int)

JSONError returns an error code and a JSON response

func ListAppRepositories added in v1.11.2

func ListAppRepositories(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

ListAppRepositories list app repositories

func SetupDefaultRoutes

func SetupDefaultRoutes(r *mux.Router, additionalClusters kube.AdditionalClustersConfig) error

SetupDefaultRoutes enables call-sites to use the backend api's default routes with minimal setup.

func UpdateAppRepository added in v1.10.1

func UpdateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

UpdateAppRepository updates an App Repository

func ValidateAppRepository added in v1.9.0

func ValidateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)

ValidateAppRepository returns a 200 if the connection to the AppRepo can be established

Types

This section is empty.

Jump to

Keyboard shortcuts

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