handlers

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentsHandler

func ComponentsHandler(
	workflow data.InstalledData,
	clusterID data.ClusterID,
	availVers data.AvailableComponentVersion,
) http.Handler

ComponentsHandler route handler

func DoctorHandler

func DoctorHandler(
	workflow data.InstalledData,
	k8sData k8s.RunningK8sData,
	clusterID data.ClusterID,
	availVers data.AvailableComponentVersion,
	apiClient *apiclient.WorkflowManager,
) http.Handler

DoctorHandler route handler

func IDHandler

func IDHandler(getter data.ClusterID) http.Handler

IDHandler route handler

func RegisterRoutes

func RegisterRoutes(
	r *mux.Router,
	availVers data.AvailableVersions,
	k8sResources *k8s.ResourceInterfaceNamespaced,
) *mux.Router

RegisterRoutes attaches handler functions to routes

Types

This section is empty.

Jump to

Keyboard shortcuts

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