Documentation ¶
Index ¶
- func CreateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func DeleteAppRepository(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func GetNamespaces(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func GetOperatorLogo(kubeHandler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func JSONError(w http.ResponseWriter, err interface{}, code int)
- func ListAppRepositories(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func SetupDefaultRoutes(r *mux.Router, additionalClusters kube.AdditionalClustersConfig) error
- func UpdateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
- func ValidateAppRepository(handler kube.AuthHandler) func(w http.ResponseWriter, req *http.Request)
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 ¶ added in v1.9.0
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.
Click to show internal directories.
Click to hide internal directories.