web_server

package
v0.0.0-...-404270f Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_POLLING_INTERVAL_SECONDS = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func CreateController

func CreateController(cloudName string, instanceMap map[string]*model.ServiceInstance, bindingMap map[string]*model.ServiceBinding) (*Controller, error)

func (*Controller) Bind

func (c *Controller) Bind(w http.ResponseWriter, r *http.Request)

func (*Controller) Catalog

func (c *Controller) Catalog(w http.ResponseWriter, r *http.Request)

func (*Controller) CreateServiceInstance

func (c *Controller) CreateServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) GetServiceInstance

func (c *Controller) GetServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) RemoveServiceInstance

func (c *Controller) RemoveServiceInstance(w http.ResponseWriter, r *http.Request)

func (*Controller) UnBind

func (c *Controller) UnBind(w http.ResponseWriter, r *http.Request)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func CreateServer

func CreateServer(cloudName string) (*Server, error)

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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