Documentation
¶
Overview ¶
Package command holds write use cases for the assistant context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeployBuildHandler ¶
func NewDeployBuildHandler() cqrs.Command[DeployBuildCommand, DeployBuildResult]
Types ¶
type DeployBuildCommand ¶
type DeployBuildCommand struct {
Env string `json:"env" jsonschema:"enum=staging,enum=production,description=Target environment"`
}
type DeployBuildHandler ¶
type DeployBuildHandler struct{}
func (*DeployBuildHandler) Handle ¶
func (*DeployBuildHandler) Handle(ctx context.Context, in DeployBuildCommand) (DeployBuildResult, error)
Handle demonstrates a deployment response without performing an external write.
type DeployBuildResult ¶
type DeployBuildResult struct{ Message string }
Click to show internal directories.
Click to hide internal directories.