Documentation
¶
Index ¶
Constants ¶
View Source
const GetClusterMetrics = `` /* 677-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
CreatedAt sql.NullTime
UpdatedAt sql.NullTime
ID int32
Uuid sql.NullString
Name sql.NullString
ClusterTemplateID sql.NullString
ApiAddress sql.NullString
StackID sql.NullString
ProjectID sql.NullString
UserID sql.NullString
Status sql.NullString
DiscoveryUrl sql.NullString
StatusReason sql.NullString
CaCertRef sql.NullString
MagnumCertRef sql.NullString
CreateTimeout sql.NullInt32
TrustID sql.NullString
TrusteeUsername sql.NullString
TrusteeUserID sql.NullString
TrusteePassword sql.NullString
CoeVersion sql.NullString
ContainerVersion sql.NullString
Keypair sql.NullString
DockerVolumeSize sql.NullInt32
Labels sql.NullString
MasterFlavorID sql.NullString
FlavorID sql.NullString
HealthStatus sql.NullString
HealthStatusReason sql.NullString
FixedNetwork sql.NullString
FixedSubnet sql.NullString
FloatingIpEnabled sql.NullBool
MasterLbEnabled sql.NullBool
EtcdCaCertRef sql.NullString
FrontProxyCaCertRef sql.NullString
}
type GetClusterMetricsRow ¶
type GetClusterMetricsRow struct {
Uuid sql.NullString
Name sql.NullString
StackID string
Status string
ProjectID sql.NullString
MasterCount int64
NodeCount int64
}
type Nodegroup ¶
type Nodegroup struct {
CreatedAt sql.NullTime
UpdatedAt sql.NullTime
ID int32
Uuid string
Name string
ClusterID string
ProjectID string
DockerVolumeSize sql.NullInt32
Labels sql.NullString
FlavorID sql.NullString
ImageID sql.NullString
NodeAddresses sql.NullString
NodeCount sql.NullInt32
MaxNodeCount sql.NullInt32
MinNodeCount sql.NullInt32
Role sql.NullString
IsDefault sql.NullBool
StackID sql.NullString
Status sql.NullString
StatusReason sql.NullString
Version sql.NullString
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetClusterMetrics ¶
func (q *Queries) GetClusterMetrics(ctx context.Context) ([]GetClusterMetricsRow, error)
Click to show internal directories.
Click to hide internal directories.