devstate

package
v0.466.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL