Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Service)
Types ¶
type ClusterStatistics ¶
type ClusterStatistics struct { ProbeFailureHosts int `json:"probe_failure_hosts"` Versions []string `json:"versions"` TotalStats *ClusterStatisticsPartial `json:"total_stats"` StatsByInstanceKind map[string]*ClusterStatisticsPartial `json:"stats_by_instance_kind"` }
type ClusterStatisticsPartial ¶
type ClusterStatisticsPartial struct { NumberOfHosts int `json:"number_of_hosts"` NumberOfInstances int `json:"number_of_instances"` TotalMemoryCapacityBytes int `json:"total_memory_capacity_bytes"` TotalPhysicalCores int `json:"total_physical_cores"` TotalLogicalCores int `json:"total_logical_cores"` }
type GetHostsInfoResponse ¶
type GetHostsInfoResponse struct { Hosts []*hostinfo.Info `json:"hosts"` Warning rest.ErrorResponse `json:"warning"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(lc fx.Lifecycle, p ServiceParams) *Service
type ServiceParams ¶
Click to show internal directories.
Click to hide internal directories.