Documentation ¶
Index ¶
- Variables
- func BodyFrame(c echo.Context) error
- func ClusterManagement(c echo.Context) error
- func ClusterMgmt(c echo.Context) error
- func ConnectionManagement(c echo.Context) error
- func Connectionconfig(c echo.Context) error
- func Credential(c echo.Context) error
- func CredentialManagement(c echo.Context) error
- func Dashboard(c echo.Context) error
- func DiskManagement(c echo.Context) error
- func DiskMgmt(c echo.Context) error
- func DownloadPriceInfo(c echo.Context) error
- func Driver(c echo.Context) error
- func DriverManagement(c echo.Context) error
- func Frame(c echo.Context) error
- func HandleWebSocket(c echo.Context) error
- func KeyPairManagement(c echo.Context) error
- func KeyPairMgmt(c echo.Context) error
- func LeftMenu(c echo.Context) error
- func Log(c echo.Context) error
- func MainPage(c echo.Context) error
- func MyImageManagement(c echo.Context) error
- func MyImageMgmt(c echo.Context) error
- func NLBManagement(c echo.Context) error
- func NLBMgmt(c echo.Context) error
- func PriceInfoRequest(c echo.Context) error
- func PriceInfoTableList(c echo.Context) error
- func Region(c echo.Context) error
- func RegionManagement(c echo.Context) error
- func RegionZone(c echo.Context) error
- func SecurityGroupManagement(c echo.Context) error
- func SecurityGroupMgmt(c echo.Context) error
- func SpiderInfo(c echo.Context) error
- func SpiderletVMMointoring(c echo.Context) error
- func Top(c echo.Context) error
- func VMImage(c echo.Context) error
- func VMManagement(c echo.Context) error
- func VMMgmt(c echo.Context) error
- func VMMointoring(c echo.Context) error
- func VMSpec(c echo.Context) error
- func VPCMgmt(c echo.Context) error
- func VPCSubnetManagement(c echo.Context) error
- type ConnectionConfig
- type ConnectionConfigs
- type CountResponse
- type CredentialInfo
- type CredentialMetaInfo
- type Credentials
- type DashboardData
- type DriverInfo
- type Drivers
- type NameWidth
- type Providers
- type RegionInfo
- type RegionMetaInfo
- type Regions
- type ResourceCounts
- type VMStatusMap
Constants ¶
This section is empty.
Variables ¶
var PRICEINFO_CACHE_PATH string = os.Getenv("CBSPIDER_ROOT") + "/cache/priceinfo"
Functions ¶
func BodyFrame ¶ added in v0.9.2
func BodyFrame(c echo.Context) error
BodyFrame renders the body frame
func ClusterManagement ¶ added in v0.9.6
func ClusterManagement(c echo.Context) error
func ClusterMgmt ¶ added in v0.6.16
func ClusterMgmt(c echo.Context) error
func ConnectionManagement ¶ added in v0.9.2
func ConnectionManagement(c echo.Context) error
func Credential ¶
func Credential(c echo.Context) error
================ Credential Info Management create credential page
func CredentialManagement ¶ added in v0.9.2
func CredentialManagement(c echo.Context) error
func Dashboard ¶ added in v0.8.17
func Dashboard(c echo.Context) error
Dashboard renders the dashboard page.
func DiskManagement ¶ added in v0.9.2
func DiskManagement(c echo.Context) error
Handler function to render the Disk management page
func DownloadPriceInfo ¶ added in v0.8.6
func DownloadPriceInfo(c echo.Context) error
func Driver ¶
func Driver(c echo.Context) error
================ Driver Info Management create driver page
func DriverManagement ¶ added in v0.9.2
func DriverManagement(c echo.Context) error
DriverManagement - Handles the management of drivers
func HandleWebSocket ¶ added in v0.9.2
func HandleWebSocket(c echo.Context) error
func KeyPairManagement ¶ added in v0.9.2
func KeyPairManagement(c echo.Context) error
Handler function to render the KeyPair management page
func KeyPairMgmt ¶
func KeyPairMgmt(c echo.Context) error
func MainPage ¶ added in v0.9.2
func MainPage(c echo.Context) error
MainPage renders the main page with iframes
func MyImageManagement ¶ added in v0.9.2
func MyImageManagement(c echo.Context) error
Handler function to render the MyImage management page
func MyImageMgmt ¶ added in v0.6.10
func MyImageMgmt(c echo.Context) error
func NLBManagement ¶ added in v0.9.5
func NLBManagement(c echo.Context) error
Handler function to render the NLB management page
func PriceInfoRequest ¶ added in v0.8.2
func PriceInfoRequest(c echo.Context) error
func PriceInfoTableList ¶ added in v0.8.2
func PriceInfoTableList(c echo.Context) error
PriceInfoTableList handles the display of CloudPriceData to Table
func Region ¶
func Region(c echo.Context) error
================ Region Info Management create region page
func RegionManagement ¶ added in v0.9.2
func RegionManagement(c echo.Context) error
func RegionZone ¶ added in v0.7.6
func RegionZone(c echo.Context) error
func SecurityGroupManagement ¶ added in v0.9.2
func SecurityGroupManagement(c echo.Context) error
Handler function to render the SecurityGroup management page
func SecurityGroupMgmt ¶
func SecurityGroupMgmt(c echo.Context) error
func SpiderletVMMointoring ¶ added in v0.9.8
func SpiderletVMMointoring(c echo.Context) error
func VMManagement ¶ added in v0.9.2
func VMManagement(c echo.Context) error
func VMMointoring ¶ added in v0.9.8
func VMMointoring(c echo.Context) error
func VPCSubnetManagement ¶ added in v0.9.2
func VPCSubnetManagement(c echo.Context) error
Handler function to render the VPC-Subnet management page
Types ¶
type ConnectionConfig ¶ added in v0.8.17
type ConnectionConfig struct { ConfigName string `json:"ConfigName"` ProviderName string `json:"ProviderName"` DriverName string `json:"DriverName"` CredentialName string `json:"CredentialName"` RegionName string `json:"RegionName"` }
================ Connection Config Info Management
type ConnectionConfigs ¶ added in v0.8.17
type ConnectionConfigs struct {
ConnectionConfigs []ConnectionConfig `json:"connectionconfig"`
}
type CountResponse ¶ added in v0.8.17
type CountResponse struct {
Count int `json:"count"`
}
type CredentialInfo ¶ added in v0.9.2
type CredentialMetaInfo ¶ added in v0.9.2
type CredentialMetaInfo struct {
Credential []string `json:"Credential"`
}
type Credentials ¶ added in v0.9.2
type Credentials struct {
Credentials []CredentialInfo `json:"credential"`
}
type DashboardData ¶ added in v0.8.17
type DashboardData struct { ServerIP string TotalConnections int ConnectionsByCloud map[string]int Providers []string ResourceCounts map[string][]ResourceCounts ShowEmpty bool }
DashboardData aggregates the data for rendering the dashboard
type DriverInfo ¶ added in v0.9.2
type Drivers ¶ added in v0.9.2
type Drivers struct {
Drivers []DriverInfo `json:"driver"`
}
type RegionInfo ¶ added in v0.9.2
type RegionMetaInfo ¶ added in v0.9.2
type RegionMetaInfo struct {
Region []string `json:"Region"`
}
type Regions ¶ added in v0.9.2
type Regions struct {
Regions []RegionInfo `json:"region"`
}
type ResourceCounts ¶ added in v0.8.17
type ResourceCounts struct { ConnectionName string `json:"connectionName"` VPCs int `json:"vpcs"` Subnets int `json:"subnets"` SecurityGroups int `json:"securityGroups"` VMs int `json:"vms"` KeyPairs int `json:"keyPairs"` Disks int `json:"disks"` NetworkLoadBalancers int `json:"nlbs"` Clusters int `json:"clusters"` MyImages int `json:"myImages"` }
ResourceCounts holds the counts for various resources
type VMStatusMap ¶ added in v0.9.2
Source Files ¶
- AdminWeb-CIM.go
- AdminWeb-Cluster.go
- AdminWeb-Common.go
- AdminWeb-Connection.go
- AdminWeb-Credential.go
- AdminWeb-Dashboard.go
- AdminWeb-Disk.go
- AdminWeb-Driver.go
- AdminWeb-Frame.go
- AdminWeb-KeyPair.go
- AdminWeb-MGMT.go
- AdminWeb-Main.go
- AdminWeb-MyImage.go
- AdminWeb-NLB.go
- AdminWeb-PriceInfo-Request.go
- AdminWeb-PriceInfo-TableList.go
- AdminWeb-PublicImage.go
- AdminWeb-Region.go
- AdminWeb-RegionZone.go
- AdminWeb-SSHWebTerminal.go
- AdminWeb-SecurityGroup.go
- AdminWeb-VM.go
- AdminWeb-VMMon.go
- AdminWeb-VMSpec.go
- AdminWeb-VPC-Subnet.go