Versions in this module Expand all Collapse all v0 v0.2.1 Sep 17, 2026 v0.2.0 Sep 17, 2026 Changes in this version + const VolumeTypeGetAllCurrent type Queries + func (q *Queries) VolumeTypeGetAllCurrent(ctx context.Context) ([]VolumeTypeGetAllCurrentRow, error) type VolumeFilters + DeletedAtIsNull bool + IncludeStartBoundary bool + type VolumeTypeGetAllCurrentRow struct + ID string + Name sql.NullString + type VolumeTypeOptions struct + Inactive bool v0.1.0 Sep 17, 2026 Changes in this version + const QuotaGetAllWithUsage + const QuotaGetProjectLimits + const QuotaUsageGetAll + const ServiceGetAll + const SnapshotCount + const VolumeGetAll + const VolumeGetAllWithAttachments + const VolumeTypeGetAll + 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 Queries struct + func New(db DBTX) *Queries + func (q *Queries) QuotaGetAllWithUsage(ctx context.Context) ([]QuotaGetAllWithUsageRow, error) + func (q *Queries) QuotaGetProjectLimits(ctx context.Context) ([]QuotaGetProjectLimitsRow, error) + func (q *Queries) QuotaUsageGetAll(ctx context.Context) ([]QuotaUsageGetAllRow, error) + func (q *Queries) ServiceGetAll(ctx context.Context) ([]ServiceGetAllRow, error) + func (q *Queries) SnapshotCount(ctx context.Context) (int64, error) + func (q *Queries) VolumeGet(ctx context.Context, id string) (VolumeGetAllRow, error) + func (q *Queries) VolumeGetAll(ctx context.Context) ([]VolumeGetAllRow, error) + func (q *Queries) VolumeGetAllByFilters(ctx context.Context, f VolumeFilters) ([]VolumeGetAllRow, error) + func (q *Queries) VolumeGetAllWithAttachments(ctx context.Context) ([]VolumeGetAllWithAttachmentsRow, error) + func (q *Queries) VolumeTypeGetAll(ctx context.Context) ([]VolumeTypeGetAllRow, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type Quota struct + Allocated sql.NullInt32 + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + HardLimit sql.NullInt32 + ID int32 + ProjectID sql.NullString + Resource string + UpdatedAt sql.NullTime + type QuotaGetAllWithUsageRow struct + HardLimit sql.NullInt32 + InUse int32 + ProjectID sql.NullString + Resource string + type QuotaGetProjectLimitsRow struct + HardLimit sql.NullInt32 + ProjectID sql.NullString + Resource string + type QuotaUsage struct + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + ID int32 + InUse int32 + ProjectID sql.NullString + RacePreventer sql.NullBool + Reserved int32 + Resource sql.NullString + UntilRefresh sql.NullInt32 + UpdatedAt sql.NullTime + type QuotaUsageGetAllRow struct + InUse int32 + ProjectID sql.NullString + Resource sql.NullString + type Service struct + ActiveBackendID sql.NullString + AvailabilityZone sql.NullString + Binary sql.NullString + ClusterName sql.NullString + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + Disabled sql.NullBool + DisabledReason sql.NullString + Frozen sql.NullBool + Host sql.NullString + ID int32 + ModifiedAt sql.NullTime + ObjectCurrentVersion sql.NullString + ReplicationStatus sql.NullString + ReportCount int32 + RpcCurrentVersion sql.NullString + Topic sql.NullString + UpdatedAt sql.NullTime + Uuid sql.NullString + type ServiceGetAllRow struct + AdminState string + DisabledReason sql.NullString + Host sql.NullString + Service sql.NullString + State int32 + Uuid sql.NullString + Zone sql.NullString + type Snapshot struct + CgsnapshotID sql.NullString + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + DisplayDescription sql.NullString + DisplayName sql.NullString + EncryptionKeyID sql.NullString + GroupSnapshotID sql.NullString + ID string + Progress sql.NullString + ProjectID sql.NullString + ProviderAuth sql.NullString + ProviderID sql.NullString + ProviderLocation sql.NullString + ScheduledAt sql.NullTime + Status sql.NullString + UpdatedAt sql.NullTime + UseQuota bool + UserID sql.NullString + VolumeID string + VolumeSize sql.NullInt32 + VolumeTypeID string + type Volume struct + AttachStatus sql.NullString + AvailabilityZone sql.NullString + Bootable sql.NullBool + ClusterName sql.NullString + ConsistencygroupID sql.NullString + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + DisplayDescription sql.NullString + DisplayName sql.NullString + Ec2ID sql.NullString + EncryptionKeyID sql.NullString + GroupID sql.NullString + Host sql.NullString + ID string + LaunchedAt sql.NullTime + MigrationStatus sql.NullString + Multiattach sql.NullBool + NameID sql.NullString + PreviousStatus sql.NullString + ProjectID sql.NullString + ProviderAuth sql.NullString + ProviderGeometry sql.NullString + ProviderID sql.NullString + ProviderLocation sql.NullString + ReplicationDriverData sql.NullString + ReplicationExtendedStatus sql.NullString + ReplicationStatus sql.NullString + ScheduledAt sql.NullTime + ServiceUuid sql.NullString + SharedTargets sql.NullBool + Size sql.NullInt32 + SnapshotID sql.NullString + SourceVolid sql.NullString + Status sql.NullString + TerminatedAt sql.NullTime + UpdatedAt sql.NullTime + UseQuota bool + UserID sql.NullString + VolumeTypeID string + type VolumeAttachment struct + AttachMode sql.NullString + AttachStatus sql.NullString + AttachTime sql.NullTime + AttachedHost sql.NullString + ConnectionInfo sql.NullString + Connector sql.NullString + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + DetachTime sql.NullTime + ID string + InstanceUuid sql.NullString + Mountpoint sql.NullString + UpdatedAt sql.NullTime + VolumeID string + type VolumeFilters struct + CreatedBefore time.Time + Deleted db.Deleted + DeletedAfter time.Time + IDs []string + ProjectIDs []string + Statuses []string + VolumeTypeIDs []string + type VolumeGetAllRow struct + CreatedAt sql.NullTime + DeletedAt sql.NullTime + ID string + ProjectID sql.NullString + Size sql.NullInt32 + Status sql.NullString + VolumeTypeID string + type VolumeGetAllWithAttachmentsRow struct + AvailabilityZone sql.NullString + Bootable sql.NullBool + ID string + Name sql.NullString + ProjectID sql.NullString + ServerID sql.NullString + Size sql.NullInt32 + Status sql.NullString + UserID sql.NullString + VolumeType sql.NullString + type VolumeType struct + CreatedAt sql.NullTime + Deleted sql.NullBool + DeletedAt sql.NullTime + Description sql.NullString + ID string + IsPublic sql.NullBool + Name sql.NullString + QosSpecsID sql.NullString + UpdatedAt sql.NullTime + type VolumeTypeGetAllRow struct + ID string + Name sql.NullString