Skip to content

Commit

Permalink
chore: remove unused client (#3914)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmakine authored Jan 7, 2025
1 parent 1a5a3b8 commit 00df8ac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/buildengine/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ type DeployClient interface {
Ping(ctx context.Context, req *connect.Request[ftlv1.PingRequest]) (*connect.Response[ftlv1.PingResponse], error)
}

type SchemaClient interface {
GetSchema(ctx context.Context, req *connect.Request[ftlv1.GetSchemaRequest]) (*connect.Response[ftlv1.GetSchemaResponse], error)
PullSchema(ctx context.Context, req *connect.Request[ftlv1.PullSchemaRequest]) (*connect.ServerStreamForClient[ftlv1.PullSchemaResponse], error)
}

// Deploy a module to the FTL controller with the given number of replicas. Optionally wait for the deployment to become ready.
func Deploy(ctx context.Context, projectConfig projectconfig.Config, module Module, deploy []string, replicas int32, waitForDeployOnline bool, client DeployClient) error {
logger := log.FromContext(ctx).Module(module.Config.Module).Scope("deploy")
Expand Down

0 comments on commit 00df8ac

Please sign in to comment.