controllers

package
v0.0.0-...-21eebf0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DarcIndexHandler

func DarcIndexHandler(store sessions.Store, conf *models.Config) http.HandlerFunc

DarcIndexHandler ...

func EProjectsIndexHandler

func EProjectsIndexHandler(store sessions.Store, conf *models.Config) http.HandlerFunc

EProjectsIndexHandler ...

func EProjectsShowHandler

func EProjectsShowHandler(store sessions.Store, conf *models.Config) http.HandlerFunc

EProjectsShowHandler ...

func EProjectsShowUnlockHandler

func EProjectsShowUnlockHandler(store sessions.Store, conf *models.Config) http.HandlerFunc

EProjectsShowUnlockHandler ...

func HomeGet

func HomeGet(w http.ResponseWriter, r *http.Request, gs sessions.Store, conf *models.Config)

HomeGet ...

func HomeHandler

func HomeHandler(gs sessions.Store, conf *models.Config) http.HandlerFunc

HomeHandler ...

func OrgsIndexGet

func OrgsIndexGet(w http.ResponseWriter, r *http.Request, gs sessions.Store,
	conf *models.Config)

OrgsIndexGet return a json representation of a list of orgs

func OrgsIndexHandler

func OrgsIndexHandler(gs sessions.Store, conf *models.Config) http.HandlerFunc

OrgsIndexHandler points to: GET /Orgs

func OrgsShowGet

func OrgsShowGet(w http.ResponseWriter, r *http.Request, gs sessions.Store,
	conf *models.Config)

OrgsShowGet gets a single org and sends a json representation of it

func OrgsShowHandler

func OrgsShowHandler(gs sessions.Store, conf *models.Config) http.HandlerFunc

OrgsShowHandler points to: GET /Orgs/{id}

func VappsIndexGet

func VappsIndexGet(w http.ResponseWriter, r *http.Request, gs sessions.Store,
	conf *models.Config)

VappsIndexGet retrives the list of vApps and sends its json representation

func VappsIndexHandler

func VappsIndexHandler(gs sessions.Store, conf *models.Config) http.HandlerFunc

VappsIndexHandler points to: GET /Vapps POST /Vapps

func VappsIndexPost

func VappsIndexPost(w http.ResponseWriter, r *http.Request, gs sessions.Store,
	conf *models.Config)

VappsIndexPost creates a new vApp based on a template. It sets the correct properties and network configurations and checks if the VM of the vApp has written its newly created public key on the cloud endpoint. If everything goes well the vApp is power off. TODO: if an error occurs we should ensure that the created vApp is destroyed

func VappsShowGet

func VappsShowGet(w http.ResponseWriter, r *http.Request, gs sessions.Store,
	conf *models.Config)

VappsShowGet gets a single vApp and sends its json representation

func VappsShowHandler

func VappsShowHandler(gs sessions.Store, conf *models.Config) http.HandlerFunc

VappsShowHandler points to: GET /Vapps/{id}

Types

This section is empty.

Jump to

Keyboard shortcuts

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