Documentation
¶
Index ¶
- Variables
- func Cluster(c echo.Context) error
- func ClusterMgmt(c echo.Context) error
- func Connectionconfig(c echo.Context) error
- func Credential(c echo.Context) error
- func Dashboard(c echo.Context) error
- func Disk(c echo.Context) error
- func DiskMgmt(c echo.Context) error
- func DownloadPriceInfo(c echo.Context) error
- func Driver(c echo.Context) error
- func Frame(c echo.Context) error
- func KeyPair(c echo.Context) error
- func KeyPairMgmt(c echo.Context) error
- func Log(c echo.Context) error
- func MyImage(c echo.Context) error
- func MyImageMgmt(c echo.Context) error
- func NLB(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 RegionZone(c echo.Context) error
- func SecurityGroup(c echo.Context) error
- func SecurityGroupMgmt(c echo.Context) error
- func SpiderInfo(c echo.Context) error
- func Top(c echo.Context) error
- func VM(c echo.Context) error
- func VMImage(c echo.Context) error
- func VMMgmt(c echo.Context) error
- func VMSpec(c echo.Context) error
- func VPC(c echo.Context) error
- func VPCMgmt(c echo.Context) error
- type ConnectionConfig
- type ConnectionConfigs
- type CountResponse
- type DashboardData
- type NameWidth
- type ResourceCounts
Constants ¶
This section is empty.
Variables ¶
View Source
var PRICEINFO_CACHE_PATH string = os.Getenv("CBSPIDER_ROOT") + "/cache/priceinfo"
Functions ¶
func ClusterMgmt ¶ added in v0.6.16
func Connectionconfig ¶
================ Connection Config Info Management create Connection page
func Credential ¶
================ Credential Info Management create credential page
func DownloadPriceInfo ¶ added in v0.8.6
func KeyPairMgmt ¶
func MyImageMgmt ¶ added in v0.6.10
func PriceInfoRequest ¶ added in v0.8.2
func PriceInfoTableList ¶ added in v0.8.2
PriceInfoTableList handles the display of CloudPriceData to Table
func RegionZone ¶ added in v0.7.6
func SecurityGroup ¶
func SecurityGroupMgmt ¶
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"`
}
Define struct for connection configurations
type ConnectionConfigs ¶ added in v0.8.17
type ConnectionConfigs struct {
ConnectionConfigs []ConnectionConfig `json:"connectionconfig"`
}
Wrapper for a slice of ConnectionConfig to match JSON structure
type CountResponse ¶ added in v0.8.17
type CountResponse struct {
Count int `json:"count"`
}
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 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
Source Files
¶
- AdminWeb-CIM.go
- AdminWeb-Cluster.go
- AdminWeb-Common.go
- AdminWeb-Dashboard.go
- AdminWeb-Disk.go
- AdminWeb-Frame.go
- AdminWeb-KeyPair.go
- AdminWeb-MGMT.go
- AdminWeb-MyImage.go
- AdminWeb-NLB.go
- AdminWeb-PriceInfo-Request.go
- AdminWeb-PriceInfo-TableList.go
- AdminWeb-PublicImage.go
- AdminWeb-RegionZone.go
- AdminWeb-SecurityGroup.go
- AdminWeb-VM.go
- AdminWeb-VMSpec.go
- AdminWeb-VPC-Subnet.go
Click to show internal directories.
Click to hide internal directories.