heat

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const GetStackMetrics = `` /* 226-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type GetStackMetricsRow

type GetStackMetricsRow struct {
	ID     string
	Name   string
	Status string
	Action string
	Tenant string
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) GetStackMetrics

func (q *Queries) GetStackMetrics(ctx context.Context) ([]GetStackMetricsRow, error)

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type Stack

type Stack struct {
	ID                 string
	CreatedAt          sql.NullTime
	UpdatedAt          sql.NullTime
	DeletedAt          sql.NullTime
	Name               sql.NullString
	RawTemplateID      int32
	PrevRawTemplateID  sql.NullInt32
	UserCredsID        sql.NullInt32
	Username           sql.NullString
	OwnerID            sql.NullString
	Action             sql.NullString
	Status             sql.NullString
	StatusReason       sql.NullString
	Timeout            sql.NullInt32
	Tenant             sql.NullString
	DisableRollback    bool
	StackUserProjectID sql.NullString
	Backup             sql.NullBool
	NestedDepth        sql.NullInt32
	Convergence        sql.NullBool
	CurrentTraversal   sql.NullString
	CurrentDeps        sql.NullString
	ParentResourceName sql.NullString
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL