Versions in this module Expand all Collapse all v0 v0.4.0 Dec 4, 2026 v0.3.0 Dec 1, 2026 v0.2.1 Sep 17, 2026 v0.2.0 Sep 17, 2026 v0.1.0 Sep 17, 2026 Changes in this version + const AggregateGetAll + const AggregateHostGetAll + const FlavorGetAll + const QuotaClassGetDefaults + const QuotaGetAll + const QuotaUsageGetAll + type Aggregate struct + CreatedAt sql.NullTime + ID int32 + Name sql.NullString + UpdatedAt sql.NullTime + Uuid sql.NullString + type AggregateGetAllRow 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 AggregateHostGetAllRow struct + AggregateID int32 + AggregateName sql.NullString + AggregateUuid sql.NullString + Host sql.NullString + ID int32 + 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 FlavorGetAllRow 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 Queries struct + func New(db DBTX) *Queries + func (q *Queries) AggregateGetAll(ctx context.Context) ([]AggregateGetAllRow, error) + func (q *Queries) AggregateHostGetAll(ctx context.Context) ([]AggregateHostGetAllRow, error) + func (q *Queries) FlavorGetAll(ctx context.Context) ([]FlavorGetAllRow, error) + func (q *Queries) QuotaClassGetDefaults(ctx context.Context) ([]QuotaClassGetDefaultsRow, error) + func (q *Queries) QuotaGetAll(ctx context.Context) ([]QuotaGetAllRow, error) + func (q *Queries) QuotaUsageGetAll(ctx context.Context) ([]QuotaUsageGetAllRow, 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 QuotaClassGetDefaultsRow struct + HardLimit sql.NullInt32 + Resource sql.NullString + type QuotaGetAllRow struct + HardLimit sql.NullInt32 + ID int32 + ProjectID sql.NullString + Resource string + 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 + type QuotaUsageGetAllRow struct + ID int32 + InUse int32 + ProjectID sql.NullString + Reserved int32 + Resource string + UntilRefresh sql.NullInt32 + UserID sql.NullString