Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct {
ID string
OrganizationID string
GameServerID string
Version string
Status DeploymentStatus
InitiatedBy string // user ID
StartedAt time.Time
FinishedAt *time.Time
FailureReason string
CreatedAt time.Time
UpdatedAt time.Time
}
Deployment represents a single intent to deploy a game server version. It is a control-plane record — it describes desired state and tracks progress. The actual execution is handled by daemon workers.
func (*Deployment) IsTerminal ¶
func (d *Deployment) IsTerminal() bool
IsTerminal returns true if the deployment has reached a final state.
type DeploymentStatus ¶
type DeploymentStatus string
DeploymentStatus tracks the lifecycle of a deployment operation.
const ( DeploymentPending DeploymentStatus = "pending" DeploymentInProgress DeploymentStatus = "in_progress" DeploymentSucceeded DeploymentStatus = "succeeded" DeploymentFailed DeploymentStatus = "failed" DeploymentRolledBack DeploymentStatus = "rolled_back" )
Click to show internal directories.
Click to hide internal directories.