Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployOptions ¶
type DeployOptions struct {
Environment string
OrgID string // Selected org ID for org-scoped deployments
}
DeployOptions contains options for deployment
type StreamEvent ¶
type StreamEvent struct {
Type string `json:"type"` // "progress", "complete", "error"
Message string `json:"message"`
DeploymentID string `json:"deploymentId,omitempty"`
URL string `json:"url,omitempty"`
Data map[string]string `json:"data,omitempty"`
Timestamp int64 `json:"timestamp"`
}
StreamEvent represents a deployment progress event from the streaming response
type StreamingDeployer ¶
type StreamingDeployer struct {
// contains filtered or unexported fields
}
StreamingDeployer handles deployments via Lambda Function URLs with streaming responses
func NewStreamingDeployer ¶
func NewStreamingDeployer() *StreamingDeployer
NewStreamingDeployer creates a new streaming deployer
func (*StreamingDeployer) Deploy ¶
func (d *StreamingDeployer) Deploy( ctx context.Context, ftlConfig []byte, creds *api.CreateDeployCredentialsResponseBody, opts DeployOptions, progressCallback func(event StreamEvent), ) error
Deploy performs a deployment using the streaming Lambda Function URL
Click to show internal directories.
Click to hide internal directories.