controller

package
v0.2.0-cappuccino Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

README

html template controller

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentRegForm

func AgentRegForm(c echo.Context) error

func ConnectionListForm

func ConnectionListForm(c echo.Context) error

func ConnectionRegForm

func ConnectionRegForm(c echo.Context) error

Connection Controller

func CredertialListForm

func CredertialListForm(c echo.Context) error

func CredertialRegForm

func CredertialRegForm(c echo.Context) error

Credential Controller

func DashBoard

func DashBoard(c echo.Context) error

func DriverListForm

func DriverListForm(c echo.Context) error

func DriverRegController

func DriverRegController(c echo.Context) error

Driver Contorller

func DriverRegForm

func DriverRegForm(c echo.Context) error

func GeoInfo

func GeoInfo(c echo.Context) error

func GetNameSpace

func GetNameSpace(c echo.Context) error

func GetNameSpaceToString

func GetNameSpaceToString(c echo.Context) string

func IndexController

func IndexController(c echo.Context) error

func LoginCheck

func LoginCheck(c echo.Context) bool

func LoginController

func LoginController(c echo.Context) error

func LoginForm

func LoginForm(c echo.Context) error

func LogoutForm

func LogoutForm(c echo.Context) error

func MakeNameSpace

func MakeNameSpace(name string) string

func Map

func Map(c echo.Context) error

func McisListForm

func McisListForm(c echo.Context) error

func McisRegController

func McisRegController(c echo.Context) error

func McisRegForm

func McisRegForm(c echo.Context) error

func MornitoringListForm

func MornitoringListForm(c echo.Context) error

func NsListForm

func NsListForm(c echo.Context) error

func NsRegController

func NsRegController(c echo.Context) error

func NsRegForm

func NsRegForm(c echo.Context) error

func PopSpec

func PopSpec(c echo.Context) error

func RegUserConrtoller

func RegUserConrtoller(c echo.Context) error

func RegionListForm

func RegionListForm(c echo.Context) error

func RegionRegForm

func RegionRegForm(c echo.Context) error

Region Controller

func ResourceBoard

func ResourceBoard(c echo.Context) error

func SetNameSpace

func SetNameSpace(c echo.Context) error

func VMAddForm

func VMAddForm(c echo.Context) error

Types

type CommonURL

type CommonURL struct {
	SpiderURL    string
	TumbleBugURL string
	DragonFlyURL string
	LadyBugURL   string
}

func GetCommonURL

func GetCommonURL() CommonURL

type CredentialInfo

type CredentialInfo struct {
	Username string
	Password string
}

func GetCredentialInfo

func GetCredentialInfo(c echo.Context, username string) CredentialInfo

type LoginInfo

type LoginInfo struct {
	Username  string
	NameSpace string
}

func CallLoginInfo

func CallLoginInfo(c echo.Context) LoginInfo

type MCISRequest

type MCISRequest struct {
	VMSpec           []string `form:"vmspec"`
	NameSpace        string   `form:"namespace"`
	McisName         string   `form:"mcis_name"`
	VMName           []string `form:"vmName"`
	Provider         []string `form:"provider"`
	SecurityGroupIds []string `form:"sg"`
}

type ReqInfo

type ReqInfo struct {
	UserName string `json:"username"`
	Password string `json:"password"`
}

type RespPublicIPInfo

type RespPublicIPInfo struct {
	PublicIPInfo []struct {
		PublicIp string `json:"publicIP"`
		Status   string `json:"status"`
		VMID     string `json:"id"`
		VMName   string `json:"name"`
	} `json:"vm"`
}

Jump to

Keyboard shortcuts

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