httplib

package
v0.0.0-...-6371fb4 Latest Latest
Warning

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

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

README

This wrapps the http library for Workloads, Framework currently using beego framework

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config string)

Run main function that starts the HTTP server

Types

type MainController

type MainController struct {
	beego.Controller
}

MainController of the HTTP server

func (*MainController) AddSlaves

func (this *MainController) AddSlaves()

UpdateSlaves handles AddSlaves REST call

func (*MainController) CreateInstance

func (this *MainController) CreateInstance()

CreateInstance Handles a Create Instance

func (*MainController) DeleteInstance

func (this *MainController) DeleteInstance()

DeleteInstance handles a delete instance REST call

func (*MainController) ListAllInstances

func (this *MainController) ListAllInstances()

StatusAll handles StatusAll REST call

func (*MainController) StatusOfInstance

func (this *MainController) StatusOfInstance()

Status handles a STATUS REST call

Jump to

Keyboard shortcuts

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