controllers

package
v0.0.0-...-2649fdf Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Asset   func(string) ([]byte, error)
	Cluster *models.Cluster
)

Functions

This section is empty.

Types

type ClusterController

type ClusterController struct {
	LoadBalancer *LoadBalancerController
	Vendors      *VendorsController
	// contains filtered or unexported fields
}

func (ClusterController) IndexAPI

func (cluster ClusterController) IndexAPI(c web.C, w http.ResponseWriter, r *http.Request)

func (ClusterController) JSON

func (c ClusterController) JSON(w http.ResponseWriter, data interface{})

func (ClusterController) Render

func (c ClusterController) Render(w http.ResponseWriter, view string)

type LoadBalancerController

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

func (LoadBalancerController) IndexAPI

func (balancer LoadBalancerController) IndexAPI(c web.C, w http.ResponseWriter, r *http.Request)

func (LoadBalancerController) JSON

func (c LoadBalancerController) JSON(w http.ResponseWriter, data interface{})

func (LoadBalancerController) Render

func (c LoadBalancerController) Render(w http.ResponseWriter, view string)

type TopController

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

func (TopController) Index

func (top TopController) Index(c web.C, w http.ResponseWriter, r *http.Request)

func (TopController) JSON

func (c TopController) JSON(w http.ResponseWriter, data interface{})

func (TopController) Render

func (c TopController) Render(w http.ResponseWriter, view string)

type VendorsController

type VendorsController struct {
	VirtualMachines *VirtualMachinesController
	StartMachineIDs []int
	// contains filtered or unexported fields
}

func (VendorsController) IndexAPI

func (vendors VendorsController) IndexAPI(c web.C, w http.ResponseWriter, r *http.Request)

func (VendorsController) JSON

func (c VendorsController) JSON(w http.ResponseWriter, data interface{})

func (VendorsController) Render

func (c VendorsController) Render(w http.ResponseWriter, view string)

func (VendorsController) ShowAPI

func (vendors VendorsController) ShowAPI(c web.C, w http.ResponseWriter, r *http.Request)

type VirtualMachinesController

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

func (VirtualMachinesController) IndexAPI

func (machines VirtualMachinesController) IndexAPI(c web.C, w http.ResponseWriter, r *http.Request)

func (VirtualMachinesController) JSON

func (c VirtualMachinesController) JSON(w http.ResponseWriter, data interface{})

func (VirtualMachinesController) Render

func (c VirtualMachinesController) Render(w http.ResponseWriter, view string)

func (VirtualMachinesController) ShowAPI

func (machines VirtualMachinesController) ShowAPI(c web.C, w http.ResponseWriter, r *http.Request)

func (VirtualMachinesController) UpdateAPI

func (machines VirtualMachinesController) UpdateAPI(c web.C, w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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