handlers

package
v0.0.0-...-51c2b10 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLease

func CreateLease(
	clusterLister gke.ClusterLister,
	services k8s.ServiceGetterUpdater,
	k8sServiceName,
	gCloudProjID,
	gCloudZone string,
) http.Handler

CreateLease creates the handler that responds to the POST /lease endpoint

func DeleteLease

func DeleteLease(services k8s.ServiceGetterUpdater, k8sServiceName string, namespaces k8s.NamespaceListerDeleter) http.Handler

DeleteLease returns the http handler for the DELETE /lease/{token} endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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