Versions in this module Expand all Collapse all v1 v1.1.0 Feb 28, 2026 v1.0.0 Feb 25, 2026 Changes in this version + const GetAggregateHosts + const GetAggregates + const GetFlavors + const GetQuotaClassDefaults + const GetQuotaUsages + const GetQuotas + type Aggregate struct + CreatedAt sql.NullTime + ID int32 + Name sql.NullString + UpdatedAt sql.NullTime + Uuid sql.NullString + type AggregateHost struct + AggregateID int32 + CreatedAt sql.NullTime + Host sql.NullString + ID int32 + UpdatedAt sql.NullTime + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type Flavor struct + CreatedAt sql.NullTime + Description sql.NullString + Disabled sql.NullBool + EphemeralGb sql.NullInt32 + Flavorid string + ID int32 + IsPublic sql.NullBool + MemoryMb int32 + Name string + RootGb sql.NullInt32 + RxtxFactor sql.NullFloat64 + Swap int32 + UpdatedAt sql.NullTime + VcpuWeight sql.NullInt32 + Vcpus int32 + type GetAggregateHostsRow struct + AggregateID int32 + AggregateName sql.NullString + AggregateUuid sql.NullString + Host sql.NullString + ID int32 + type GetAggregatesRow struct + CreatedAt sql.NullTime + ID int32 + Name sql.NullString + UpdatedAt sql.NullTime + Uuid sql.NullString + type GetFlavorsRow struct + Disabled sql.NullBool + EphemeralGb sql.NullInt32 + Flavorid string + ID int32 + IsPublic sql.NullBool + MemoryMb int32 + Name string + RootGb sql.NullInt32 + RxtxFactor sql.NullFloat64 + Swap int32 + Vcpus int32 + type GetQuotaClassDefaultsRow struct + HardLimit sql.NullInt32 + Resource sql.NullString + type GetQuotaUsagesRow struct + ID int32 + InUse int32 + ProjectID sql.NullString + Reserved int32 + Resource string + UntilRefresh sql.NullInt32 + UserID sql.NullString + type GetQuotasRow struct + HardLimit sql.NullInt32 + ID int32 + ProjectID sql.NullString + Resource string + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) GetAggregateHosts(ctx context.Context) ([]GetAggregateHostsRow, error) + func (q *Queries) GetAggregates(ctx context.Context) ([]GetAggregatesRow, error) + func (q *Queries) GetFlavors(ctx context.Context) ([]GetFlavorsRow, error) + func (q *Queries) GetQuotaClassDefaults(ctx context.Context) ([]GetQuotaClassDefaultsRow, error) + func (q *Queries) GetQuotaUsages(ctx context.Context) ([]GetQuotaUsagesRow, error) + func (q *Queries) GetQuotas(ctx context.Context) ([]GetQuotasRow, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type Quota struct + CreatedAt sql.NullTime + HardLimit sql.NullInt32 + ID int32 + ProjectID sql.NullString + Resource string + UpdatedAt sql.NullTime + type QuotaClass struct + ClassName sql.NullString + CreatedAt sql.NullTime + HardLimit sql.NullInt32 + ID int32 + Resource sql.NullString + UpdatedAt sql.NullTime + type QuotaUsage struct + CreatedAt sql.NullTime + ID int32 + InUse int32 + ProjectID sql.NullString + Reserved int32 + Resource string + UntilRefresh sql.NullInt32 + UpdatedAt sql.NullTime + UserID sql.NullString