Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeploymentCommand ¶
type CreateDeploymentCommand struct {
OrganizationID string
GameServerID string
Version string
InitiatedBy string // user ID
}
CreateDeploymentCommand represents user intent to deploy a specific version of a game server. The control plane records the intent and emits a job for the daemon to act upon.
type CreateDeploymentHandler ¶
type CreateDeploymentHandler struct {
// contains filtered or unexported fields
}
CreateDeploymentHandler executes CreateDeploymentCommand.
func NewCreateDeploymentHandler ¶
func NewCreateDeploymentHandler(deployments ports.DeploymentRepository) *CreateDeploymentHandler
func (*CreateDeploymentHandler) Handle ¶
func (h *CreateDeploymentHandler) Handle(ctx context.Context, cmd CreateDeploymentCommand) (*CreateDeploymentResult, error)
type CreateDeploymentResult ¶
type CreateDeploymentResult struct {
DeploymentID string
}
CreateDeploymentResult carries the new deployment ID.
Click to show internal directories.
Click to hide internal directories.