Documentation
¶
Index ¶
- type CreateDeploymentK8sResourceParams
- type CreateDeploymentParams
- type CreateDeploymentStatusParams
- type DBTX
- type DeploymentState
- type NullDeploymentState
- type Querier
- type Queries
- func (q *Queries) CreateDeployment(ctx context.Context, arg CreateDeploymentParams) (uuid.UUID, error)
- func (q *Queries) CreateDeploymentK8sResource(ctx context.Context, arg CreateDeploymentK8sResourceParams) (uuid.UUID, error)
- func (q *Queries) CreateDeploymentStatus(ctx context.Context, arg CreateDeploymentStatusParams) (uuid.UUID, error)
- func (q *Queries) TeamExists(ctx context.Context, argSlug slug.Slug) (bool, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeploymentParams ¶
type CreateDeploymentStatusParams ¶
type CreateDeploymentStatusParams struct { CreatedAt pgtype.Timestamptz DeploymentID uuid.UUID ExternalDeploymentID *string State DeploymentState Message string }
type DeploymentState ¶
type DeploymentState string
const ( DeploymentStateSuccess DeploymentState = "success" DeploymentStateError DeploymentState = "error" DeploymentStateFailure DeploymentState = "failure" DeploymentStateInactive DeploymentState = "inactive" DeploymentStateInProgress DeploymentState = "in_progress" DeploymentStateQueued DeploymentState = "queued" DeploymentStatePending DeploymentState = "pending" )
func AllDeploymentStateValues ¶
func AllDeploymentStateValues() []DeploymentState
func (*DeploymentState) Scan ¶
func (e *DeploymentState) Scan(src interface{}) error
func (DeploymentState) Valid ¶
func (e DeploymentState) Valid() bool
type NullDeploymentState ¶
type NullDeploymentState struct { DeploymentState DeploymentState Valid bool // Valid is true if DeploymentState is not NULL }
func (*NullDeploymentState) Scan ¶
func (ns *NullDeploymentState) Scan(value interface{}) error
Scan implements the Scanner interface.
type Querier ¶
type Querier interface { CreateDeployment(ctx context.Context, arg CreateDeploymentParams) (uuid.UUID, error) CreateDeploymentK8sResource(ctx context.Context, arg CreateDeploymentK8sResourceParams) (uuid.UUID, error) CreateDeploymentStatus(ctx context.Context, arg CreateDeploymentStatusParams) (uuid.UUID, error) TeamExists(ctx context.Context, argSlug slug.Slug) (bool, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateDeployment ¶
func (*Queries) CreateDeploymentK8sResource ¶
func (*Queries) CreateDeploymentStatus ¶
func (*Queries) TeamExists ¶
Click to show internal directories.
Click to hide internal directories.