Documentation ¶
Index ¶
- func CreateCluster(cluster *models.Cluster) (int64, error)
- func DeleteCluster(clusterId int64) (bool, error)
- func Expand(cluster *models.Cluster, num int, correlationId string) ([]string, error)
- func GetCluster(clusterId int64) (*models.Cluster, error)
- func GetCstTime(converTime time.Time) string
- func GetLatestDetail() (map[string]int, error)
- func GetLatestInstanceDetail() ([]models.InstanceDetail, error)
- func GetPastInstanceDetail(specificTime string) (*models.InstanceDetail, error)
- func GetRecentDetail(beginTime, endTime time.Time) ([]models.Detail, error)
- func GetRecentInstanceDetail(hour int) ([]models.InstanceDetail, error)
- func InitInstanceDetailCron()
- func ListClusters() ([]models.Cluster, error)
- func ListProviders() ([]string, error)
- func UpdateInstanceDetail() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCluster ¶
func GetCstTime ¶
func GetLatestDetail ¶
func GetLatestInstanceDetail ¶
func GetLatestInstanceDetail() ([]models.InstanceDetail, error)
func GetPastInstanceDetail ¶
func GetPastInstanceDetail(specificTime string) (*models.InstanceDetail, error)
func GetRecentInstanceDetail ¶
func GetRecentInstanceDetail(hour int) ([]models.InstanceDetail, error)
func InitInstanceDetailCron ¶
func InitInstanceDetailCron()
func ListClusters ¶
func ListProviders ¶
func UpdateInstanceDetail ¶
func UpdateInstanceDetail() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.