Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevState ¶
type DevState struct {
Modules []ModuleState
Schema *schema.Schema
}
func WaitForDevState ¶
func WaitForDevState(ctx context.Context, buildEngineClient buildenginepbconnect.BuildEngineServiceClient, schemaClient adminpbconnect.AdminServiceClient) (DevState, error)
WaitForDevState waits for the engine to finish and prints a summary of the current module (paths and errors) and schema. It is useful for synchronizing with FTL dev as it accommodates delays in detecting code changes, building and deploying.
type ModuleState ¶
type ModuleState struct {
Name string
Path string
Errors []builderrors.Error
}
Click to show internal directories.
Click to hide internal directories.