From 0549ae4ca08467e120afe15ed6a47ed1ce1dcb1f Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Wed, 1 Oct 2025 16:12:39 -0400 Subject: [PATCH 01/12] update keyspaceId to apiId --- go/cmd/deploy/config.go | 10 +++++----- go/cmd/deploy/control_plane.go | 2 +- go/cmd/deploy/main.go | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/go/cmd/deploy/config.go b/go/cmd/deploy/config.go index e873e79332..e39e40f38e 100644 --- a/go/cmd/deploy/config.go +++ b/go/cmd/deploy/config.go @@ -21,7 +21,7 @@ var ( type Config struct { WorkspaceID string `json:"workspace_id"` - KeyspaceID string `json:"keyspace_id"` + ApiId string `json:"api_id"` ProjectID string `json:"project_id"` Context string `json:"context"` } @@ -115,10 +115,10 @@ func writeConfig(configPath string, config *Config) error { } // mergeWithFlags merges config values with command flags, with flags taking precedence -func (c *Config) mergeWithFlags(workspaceID, projectID, keyspaceID, context string) *Config { +func (c *Config) mergeWithFlags(workspaceID, projectID, apiID, context string) *Config { merged := &Config{ WorkspaceID: c.WorkspaceID, - KeyspaceID: c.KeyspaceID, + ApiID: c.ApiID, ProjectID: c.ProjectID, Context: c.Context, } @@ -129,8 +129,8 @@ func (c *Config) mergeWithFlags(workspaceID, projectID, keyspaceID, context stri if projectID != "" { merged.ProjectID = projectID } - if keyspaceID != "" { - merged.KeyspaceID = keyspaceID + if ApiID != "" { + merged.ApiID = ApiID } if context != "" { merged.Context = context diff --git a/go/cmd/deploy/control_plane.go b/go/cmd/deploy/control_plane.go index 405e381152..fdef8cfaf3 100644 --- a/go/cmd/deploy/control_plane.go +++ b/go/cmd/deploy/control_plane.go @@ -56,7 +56,7 @@ func (c *ControlPlaneClient) CreateDeployment(ctx context.Context, dockerImage s createReq := connect.NewRequest(&ctrlv1.CreateDeploymentRequest{ WorkspaceId: c.opts.WorkspaceID, ProjectId: c.opts.ProjectID, - KeyspaceId: &c.opts.KeyspaceID, + ApiID: &c.opts.ApiID, Branch: c.opts.Branch, SourceType: ctrlv1.SourceType_SOURCE_TYPE_CLI_UPLOAD, EnvironmentSlug: c.opts.Environment, diff --git a/go/cmd/deploy/main.go b/go/cmd/deploy/main.go index 446c99f69c..3a17df6aa5 100644 --- a/go/cmd/deploy/main.go +++ b/go/cmd/deploy/main.go @@ -22,7 +22,7 @@ const ( // Environment variables EnvWorkspaceID = "UNKEY_WORKSPACE_ID" - EnvKeyspaceID = "UNKEY_KEYSPACE_ID" + EnvApiId = "UNKEY_API_ID" EnvRegistry = "UNKEY_REGISTRY" // URL prefixes @@ -83,7 +83,7 @@ var stepSequence = map[string]string{ type DeployOptions struct { WorkspaceID string ProjectID string - KeyspaceID string + ApiID string Context string Branch string DockerImage string @@ -108,7 +108,7 @@ var DeployFlags = []cli.Flag{ // Required flags (can be provided via config file) cli.String("workspace-id", "Workspace ID", cli.EnvVar(EnvWorkspaceID)), cli.String("project-id", "Project ID", cli.EnvVar("UNKEY_PROJECT_ID")), - cli.String("keyspace-id", "Keyspace ID for API key authentication", cli.EnvVar(EnvKeyspaceID)), + cli.String("api-id", "API ID for API key authentication", cli.EnvVar(EnvApiID)), // Optional flags with defaults cli.String("context", "Build context path"), cli.String("branch", "Git branch", cli.Default(DefaultBranch)), @@ -184,7 +184,7 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { finalConfig := cfg.mergeWithFlags( cmd.String("workspace-id"), cmd.String("project-id"), - cmd.String("keyspace-id"), + cmd.String("api-id"), cmd.String("context"), ) @@ -195,7 +195,7 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { opts := DeployOptions{ WorkspaceID: finalConfig.WorkspaceID, - KeyspaceID: finalConfig.KeyspaceID, + ApiID: finalConfig.ApiID, ProjectID: finalConfig.ProjectID, Context: finalConfig.Context, Branch: cmd.String("branch"), From 3ec81956a89040423679aec12009e2a47ea0bb38 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Wed, 1 Oct 2025 16:27:42 -0400 Subject: [PATCH 02/12] add sensible defaults' ' --- go/cmd/deploy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/cmd/deploy/main.go b/go/cmd/deploy/main.go index 3a17df6aa5..b45045a9fd 100644 --- a/go/cmd/deploy/main.go +++ b/go/cmd/deploy/main.go @@ -16,7 +16,7 @@ const ( DefaultBranch = "main" DefaultDockerfile = "Dockerfile" DefaultRegistry = "ghcr.io/unkeyed/deploy" - DefaultControlPlaneURL = "http://localhost:7091" + DefaultControlPlaneURL = "https://ctrl.unkey.cloud" DefaultAuthToken = "ctrl-secret-token" DefaultEnvironment = "Production" From df8b59c74fbcd433ae992caea4f078180c11eaf0 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Wed, 1 Oct 2025 18:15:05 -0400 Subject: [PATCH 03/12] infer workspace id from project id --- .../services/deployment/create_deployment.go | 2 +- go/cmd/deploy/config.go | 20 +-- go/cmd/deploy/control_plane.go | 23 ++- go/cmd/deploy/init.go | 2 +- go/cmd/deploy/main.go | 32 ++-- .../v1/ctrlv1connect/deployment.connect.go | 31 ++++ go/gen/proto/ctrl/v1/deployment.pb.go | 168 +++++++++++++++--- go/pkg/codes/constants_gen.go | 75 ++++---- ...ulk_acme_challenge_insert.sql_generated.go | 4 +- .../db/bulk_acme_user_insert.sql_generated.go | 4 +- go/pkg/db/bulk_api_insert.sql_generated.go | 4 +- .../db/bulk_audit_log_insert.sql_generated.go | 4 +- ...k_audit_log_target_insert.sql_generated.go | 4 +- .../bulk_deployment_insert.sql_generated.go | 4 +- ...lk_deployment_step_insert.sql_generated.go | 4 +- go/pkg/db/bulk_domain_insert.sql_generated.go | 4 +- .../db/bulk_identity_insert.sql_generated.go | 4 +- ...identity_insert_ratelimit.sql_generated.go | 4 +- ...ulk_key_encryption_insert.sql_generated.go | 4 +- go/pkg/db/bulk_key_insert.sql_generated.go | 4 +- ...bulk_key_insert_ratelimit.sql_generated.go | 4 +- ...ulk_key_permission_insert.sql_generated.go | 4 +- .../db/bulk_key_role_insert.sql_generated.go | 4 +- .../db/bulk_keyring_insert.sql_generated.go | 4 +- .../bulk_permission_insert.sql_generated.go | 4 +- .../db/bulk_project_insert.sql_generated.go | 4 +- ...atelimit_namespace_insert.sql_generated.go | 4 +- ...ratelimit_override_insert.sql_generated.go | 4 +- go/pkg/db/bulk_role_insert.sql_generated.go | 4 +- ...lk_role_permission_insert.sql_generated.go | 4 +- .../db/bulk_workspace_insert.sql_generated.go | 4 +- .../bulk_certificate_insert.sql_generated.go | 4 +- .../db/bulk_gateway_upsert.sql_generated.go | 4 +- .../db/bulk_vm_upsert.sql_generated.go | 4 +- go/proto/ctrl/v1/deployment.proto | 18 +- internal/proto/generated/ctrl/v1/acme_pb.ts | 56 +++--- internal/proto/generated/ctrl/v1/build_pb.ts | 36 ++-- .../proto/generated/ctrl/v1/deployment_pb.ts | 134 +++++++++----- .../proto/generated/ctrl/v1/openapi_pb.ts | 33 ++-- .../proto/generated/ctrl/v1/service_pb.ts | 24 ++- .../proto/generated/krane/v1/deployment_pb.ts | 55 +++--- .../generated/partition/v1/gateway_pb.ts | 28 ++- .../proto/generated/vault/v1/object_pb.ts | 25 ++- .../proto/generated/vault/v1/service_pb.ts | 78 ++++---- 44 files changed, 563 insertions(+), 381 deletions(-) diff --git a/go/apps/ctrl/services/deployment/create_deployment.go b/go/apps/ctrl/services/deployment/create_deployment.go index b5551b13df..a3f9590f49 100644 --- a/go/apps/ctrl/services/deployment/create_deployment.go +++ b/go/apps/ctrl/services/deployment/create_deployment.go @@ -147,7 +147,7 @@ func (s *Service) CreateDeployment( deployReq := &hydrav1.DeployRequest{ DeploymentId: deploymentID, DockerImage: req.Msg.GetDockerImage(), - KeyAuthId: req.Msg.KeyspaceId, + KeyAuthId: req.Msg.GetKeyspaceId(), } // this is ugly, but we're waiting for // https://github.com/restatedev/sdk-go/issues/103 diff --git a/go/cmd/deploy/config.go b/go/cmd/deploy/config.go index e39e40f38e..e609bb5dcb 100644 --- a/go/cmd/deploy/config.go +++ b/go/cmd/deploy/config.go @@ -9,7 +9,6 @@ import ( ) var ( - ErrWorkspaceIDRequired = errors.New("workspace ID is required (use --workspace-id flag or edit unkey.json)") ErrProjectIDRequired = errors.New("project ID is required (use --project-id flag or edit unkey.json)") ErrConfigPathResolve = errors.New("failed to resolve config path") ErrConfigFileRead = errors.New("failed to read config file") @@ -20,8 +19,7 @@ var ( ) type Config struct { - WorkspaceID string `json:"workspace_id"` - ApiId string `json:"api_id"` + ApiID string `json:"api_id"` ProjectID string `json:"project_id"` Context string `json:"context"` } @@ -80,14 +78,13 @@ func getConfigFilePath(configDir string) string { } // createConfigWithValues creates a new unkey.json file with the provided values -func createConfigWithValues(configDir, workspaceID, projectID, context string) error { +func createConfigWithValues(configDir, projectID, context string) error { // Create directory if it doesn't exist if err := os.MkdirAll(configDir, 0755); err != nil { return fmt.Errorf("%w %s: %w", ErrDirectoryCreate, configDir, err) } config := &Config{ - WorkspaceID: workspaceID, ProjectID: projectID, Context: context, } @@ -115,22 +112,18 @@ func writeConfig(configPath string, config *Config) error { } // mergeWithFlags merges config values with command flags, with flags taking precedence -func (c *Config) mergeWithFlags(workspaceID, projectID, apiID, context string) *Config { +func (c *Config) mergeWithFlags(projectID, apiID, context string) *Config { merged := &Config{ - WorkspaceID: c.WorkspaceID, ApiID: c.ApiID, ProjectID: c.ProjectID, Context: c.Context, } // Flags override config values - if workspaceID != "" { - merged.WorkspaceID = workspaceID - } if projectID != "" { merged.ProjectID = projectID } - if ApiID != "" { - merged.ApiID = ApiID + if apiID != "" { + merged.ApiID = apiID } if context != "" { merged.Context = context @@ -144,9 +137,6 @@ func (c *Config) mergeWithFlags(workspaceID, projectID, apiID, context string) * // validate checks if required fields are present and not placeholder values func (c *Config) validate() error { - if c.WorkspaceID == "" || c.WorkspaceID == "ws_your_workspace_id" { - return ErrWorkspaceIDRequired - } if c.ProjectID == "" || c.ProjectID == "proj_your_project_id" { return ErrProjectIDRequired } diff --git a/go/cmd/deploy/control_plane.go b/go/cmd/deploy/control_plane.go index fdef8cfaf3..72a6e5631a 100644 --- a/go/cmd/deploy/control_plane.go +++ b/go/cmd/deploy/control_plane.go @@ -56,7 +56,7 @@ func (c *ControlPlaneClient) CreateDeployment(ctx context.Context, dockerImage s createReq := connect.NewRequest(&ctrlv1.CreateDeploymentRequest{ WorkspaceId: c.opts.WorkspaceID, ProjectId: c.opts.ProjectID, - ApiID: &c.opts.ApiID, + ApiId: &c.opts.ApiID, Branch: c.opts.Branch, SourceType: ctrlv1.SourceType_SOURCE_TYPE_CLI_UPLOAD, EnvironmentSlug: c.opts.Environment, @@ -108,6 +108,27 @@ func (c *ControlPlaneClient) GetDeployment(ctx context.Context, deploymentId str return getResp.Msg.GetDeployment(), nil } +// GetProject retrieve project information from the control plane. Needed to infer workspace id +func (c *ControlPlaneClient) GetProject(ctx context.Context, projectID string) (*ctrlv1.GetProjectResponse, error) { + req := connect.NewRequest(&ctrlv1.GetProjectRequest{ + ProjectId: projectID, + }) + + authHeader := c.opts.APIKey + if authHeader == "" { + authHeader = c.opts.AuthToken + } + + req.Header().Set("Authorization", "Bearer "+authHeader) + + resp, err := c.client.GetProject(ctx, req) + if err != nil { + return nil, fmt.Errorf("failed to get project: %w", err) + } + + return resp.Msg, nil +} + // PollDeploymentStatus polls for deployment changes and calls event handlers func (c *ControlPlaneClient) PollDeploymentStatus( ctx context.Context, diff --git a/go/cmd/deploy/init.go b/go/cmd/deploy/init.go index 3a81632fe3..0bc66a4cc3 100644 --- a/go/cmd/deploy/init.go +++ b/go/cmd/deploy/init.go @@ -62,7 +62,7 @@ func handleInit(cmd *cli.Command, ui *UI) error { // Create configuration with user input ui.Print("Creating configuration file") - if err := createConfigWithValues(configDir, workspaceID, projectID, context); err != nil { + if err := createConfigWithValues(configDir, projectID, context); err != nil { ui.PrintError("Failed to create config file") return fmt.Errorf("failed to create config file: %w", err) } diff --git a/go/cmd/deploy/main.go b/go/cmd/deploy/main.go index b45045a9fd..a963b3bb83 100644 --- a/go/cmd/deploy/main.go +++ b/go/cmd/deploy/main.go @@ -18,11 +18,10 @@ const ( DefaultRegistry = "ghcr.io/unkeyed/deploy" DefaultControlPlaneURL = "https://ctrl.unkey.cloud" DefaultAuthToken = "ctrl-secret-token" - DefaultEnvironment = "Production" + DefaultEnvironment = "preview" // Environment variables - EnvWorkspaceID = "UNKEY_WORKSPACE_ID" - EnvApiId = "UNKEY_API_ID" + EnvApiID = "UNKEY_API_ID" EnvRegistry = "UNKEY_REGISTRY" // URL prefixes @@ -81,7 +80,7 @@ var stepSequence = map[string]string{ // DeployOptions contains all configuration for deployment type DeployOptions struct { - WorkspaceID string + WorkspaceID string ProjectID string ApiID string Context string @@ -106,11 +105,10 @@ var DeployFlags = []cli.Flag{ cli.Bool("init", "Initialize configuration file in the specified directory"), cli.Bool("force", "Force overwrite existing configuration file when using --init"), // Required flags (can be provided via config file) - cli.String("workspace-id", "Workspace ID", cli.EnvVar(EnvWorkspaceID)), cli.String("project-id", "Project ID", cli.EnvVar("UNKEY_PROJECT_ID")), cli.String("api-id", "API ID for API key authentication", cli.EnvVar(EnvApiID)), // Optional flags with defaults - cli.String("context", "Build context path"), + cli.String("context", "Build context path", cli.Default(".")), cli.String("branch", "Git branch", cli.Default(DefaultBranch)), cli.String("docker-image", "Pre-built docker image"), cli.String("dockerfile", "Path to Dockerfile", cli.Default(DefaultDockerfile)), @@ -118,10 +116,10 @@ var DeployFlags = []cli.Flag{ cli.String("registry", "Container registry", cli.Default(DefaultRegistry), cli.EnvVar(EnvRegistry)), - cli.String("env", "Environment slug to deploy to", cli.Default("preview")), + cli.String("env", "Environment slug to deploy to", cli.Default(DefaultEnvironment)), cli.Bool("skip-push", "Skip pushing to registry (for local testing)"), cli.Bool("verbose", "Show detailed output for build and deployment operations"), - cli.Bool("linux", "Build Docker image for linux/amd64 platform (for deployment to cloud clusters)"), + cli.Bool("linux", "Build Docker image for linux/amd64 platform (for deployment to cloud clusters)", cli.Default(true)), // Control plane flags (internal) cli.String("control-plane-url", "Control plane URL", cli.Default(DefaultControlPlaneURL)), cli.String("auth-token", "Control plane auth token", cli.Default(DefaultAuthToken)), @@ -153,7 +151,6 @@ unkey deploy --init --config=./my-project # Initialize with custom location unkey deploy --init --force # Force overwrite existing configuration unkey deploy # Standard deployment (uses ./unkey.json) unkey deploy --config=./production # Deploy from specific config directory -unkey deploy --workspace-id=ws_production_123 # Override workspace from config file unkey deploy --context=./api # Deploy with custom build context unkey deploy --skip-push # Local development (build only, no push) unkey deploy --docker-image=ghcr.io/user/app:v1.0.0 # Deploy pre-built image @@ -182,7 +179,6 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { // Merge config with command flags (flags take precedence) finalConfig := cfg.mergeWithFlags( - cmd.String("workspace-id"), cmd.String("project-id"), cmd.String("api-id"), cmd.String("context"), @@ -193,8 +189,22 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { return err // Clean error message already } + // Resolve workspace from project Id + tempOpts := DeployOptions{ + ProjectID: finalConfig.ProjectID, + ControlPlaneURL: cmd.String("control-plane-url"), + AuthToken: cmd.String("auth-token"), + APIKey: cmd.String("api-key"), + } + + controlPlane := NewControlPlaneClient(tempOpts) + project, err := controlPlane.GetProject(ctx, finalConfig.ProjectID) + if err != nil { + return fmt.Errorf("failed to resolve workspace from project 's%': %w", finalConfig.ProjectID, err) + } + opts := DeployOptions{ - WorkspaceID: finalConfig.WorkspaceID, + WorkspaceID: project.GetWorkspaceId(), ApiID: finalConfig.ApiID, ProjectID: finalConfig.ProjectID, Context: finalConfig.Context, diff --git a/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go b/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go index 718a4914cf..66536ba7cc 100644 --- a/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go +++ b/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go @@ -45,6 +45,9 @@ const ( // DeploymentServicePromoteProcedure is the fully-qualified name of the DeploymentService's Promote // RPC. DeploymentServicePromoteProcedure = "/ctrl.v1.DeploymentService/Promote" + // DeploymentServiceGetProjectProcedure is the fully-qualified name of the DeploymentService's + // GetProject RPC. + DeploymentServiceGetProjectProcedure = "/ctrl.v1.DeploymentService/GetProject" ) // DeploymentServiceClient is a client for the ctrl.v1.DeploymentService service. @@ -57,6 +60,8 @@ type DeploymentServiceClient interface { Rollback(context.Context, *connect.Request[v1.RollbackRequest]) (*connect.Response[v1.RollbackResponse], error) // Promote the deployment to the live environment Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) + // Get project details by ID + GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) } // NewDeploymentServiceClient constructs a client for the ctrl.v1.DeploymentService service. By @@ -94,6 +99,12 @@ func NewDeploymentServiceClient(httpClient connect.HTTPClient, baseURL string, o connect.WithSchema(deploymentServiceMethods.ByName("Promote")), connect.WithClientOptions(opts...), ), + getProject: connect.NewClient[v1.GetProjectRequest, v1.GetProjectResponse]( + httpClient, + baseURL+DeploymentServiceGetProjectProcedure, + connect.WithSchema(deploymentServiceMethods.ByName("GetProject")), + connect.WithClientOptions(opts...), + ), } } @@ -103,6 +114,7 @@ type deploymentServiceClient struct { getDeployment *connect.Client[v1.GetDeploymentRequest, v1.GetDeploymentResponse] rollback *connect.Client[v1.RollbackRequest, v1.RollbackResponse] promote *connect.Client[v1.PromoteRequest, v1.PromoteResponse] + getProject *connect.Client[v1.GetProjectRequest, v1.GetProjectResponse] } // CreateDeployment calls ctrl.v1.DeploymentService.CreateDeployment. @@ -125,6 +137,11 @@ func (c *deploymentServiceClient) Promote(ctx context.Context, req *connect.Requ return c.promote.CallUnary(ctx, req) } +// GetProject calls ctrl.v1.DeploymentService.GetProject. +func (c *deploymentServiceClient) GetProject(ctx context.Context, req *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) { + return c.getProject.CallUnary(ctx, req) +} + // DeploymentServiceHandler is an implementation of the ctrl.v1.DeploymentService service. type DeploymentServiceHandler interface { // Create a new deployment @@ -135,6 +152,8 @@ type DeploymentServiceHandler interface { Rollback(context.Context, *connect.Request[v1.RollbackRequest]) (*connect.Response[v1.RollbackResponse], error) // Promote the deployment to the live environment Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) + // Get project details by ID + GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) } // NewDeploymentServiceHandler builds an HTTP handler from the service implementation. It returns @@ -168,6 +187,12 @@ func NewDeploymentServiceHandler(svc DeploymentServiceHandler, opts ...connect.H connect.WithSchema(deploymentServiceMethods.ByName("Promote")), connect.WithHandlerOptions(opts...), ) + deploymentServiceGetProjectHandler := connect.NewUnaryHandler( + DeploymentServiceGetProjectProcedure, + svc.GetProject, + connect.WithSchema(deploymentServiceMethods.ByName("GetProject")), + connect.WithHandlerOptions(opts...), + ) return "/ctrl.v1.DeploymentService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case DeploymentServiceCreateDeploymentProcedure: @@ -178,6 +203,8 @@ func NewDeploymentServiceHandler(svc DeploymentServiceHandler, opts ...connect.H deploymentServiceRollbackHandler.ServeHTTP(w, r) case DeploymentServicePromoteProcedure: deploymentServicePromoteHandler.ServeHTTP(w, r) + case DeploymentServiceGetProjectProcedure: + deploymentServiceGetProjectHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -202,3 +229,7 @@ func (UnimplementedDeploymentServiceHandler) Rollback(context.Context, *connect. func (UnimplementedDeploymentServiceHandler) Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("ctrl.v1.DeploymentService.Promote is not implemented")) } + +func (UnimplementedDeploymentServiceHandler) GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("ctrl.v1.DeploymentService.GetProject is not implemented")) +} diff --git a/go/gen/proto/ctrl/v1/deployment.pb.go b/go/gen/proto/ctrl/v1/deployment.pb.go index 279c9cece6..08f45fcb8e 100644 --- a/go/gen/proto/ctrl/v1/deployment.pb.go +++ b/go/gen/proto/ctrl/v1/deployment.pb.go @@ -149,8 +149,8 @@ type CreateDeploymentRequest struct { GitCommitAuthorHandle string `protobuf:"bytes,9,opt,name=git_commit_author_handle,json=gitCommitAuthorHandle,proto3" json:"git_commit_author_handle,omitempty"` GitCommitAuthorAvatarUrl string `protobuf:"bytes,10,opt,name=git_commit_author_avatar_url,json=gitCommitAuthorAvatarUrl,proto3" json:"git_commit_author_avatar_url,omitempty"` GitCommitTimestamp int64 `protobuf:"varint,11,opt,name=git_commit_timestamp,json=gitCommitTimestamp,proto3" json:"git_commit_timestamp,omitempty"` // Unix epoch milliseconds - // Keyspace ID for authentication - KeyspaceId *string `protobuf:"bytes,12,opt,name=keyspace_id,json=keyspaceId,proto3,oneof" json:"keyspace_id,omitempty"` + // API ID for authentication + ApiId *string `protobuf:"bytes,12,opt,name=api_id,json=apiId,proto3,oneof" json:"api_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -262,9 +262,9 @@ func (x *CreateDeploymentRequest) GetGitCommitTimestamp() int64 { return 0 } -func (x *CreateDeploymentRequest) GetKeyspaceId() string { - if x != nil && x.KeyspaceId != nil { - return *x.KeyspaceId +func (x *CreateDeploymentRequest) GetApiId() string { + if x != nil && x.ApiId != nil { + return *x.ApiId } return "" } @@ -997,11 +997,123 @@ func (*PromoteResponse) Descriptor() ([]byte, []int) { return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{11} } +type GetProjectRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetProjectRequest) Reset() { + *x = GetProjectRequest{} + mi := &file_ctrl_v1_deployment_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetProjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetProjectRequest) ProtoMessage() {} + +func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_ctrl_v1_deployment_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead. +func (*GetProjectRequest) Descriptor() ([]byte, []int) { + return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{12} +} + +func (x *GetProjectRequest) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + +type GetProjectResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetProjectResponse) Reset() { + *x = GetProjectResponse{} + mi := &file_ctrl_v1_deployment_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetProjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetProjectResponse) ProtoMessage() {} + +func (x *GetProjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_ctrl_v1_deployment_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead. +func (*GetProjectResponse) Descriptor() ([]byte, []int) { + return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{13} +} + +func (x *GetProjectResponse) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + +func (x *GetProjectResponse) GetWorkspaceId() string { + if x != nil { + return x.WorkspaceId + } + return "" +} + +func (x *GetProjectResponse) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *GetProjectResponse) GetSlug() string { + if x != nil { + return x.Slug + } + return "" +} + var File_ctrl_v1_deployment_proto protoreflect.FileDescriptor const file_ctrl_v1_deployment_proto_rawDesc = "" + "\n" + - "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\xac\x04\n" + + "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\x9d\x04\n" + "\x17CreateDeploymentRequest\x12!\n" + "\fworkspace_id\x18\x01 \x01(\tR\vworkspaceId\x12\x1d\n" + "\n" + @@ -1016,10 +1128,9 @@ const file_ctrl_v1_deployment_proto_rawDesc = "" + "\x18git_commit_author_handle\x18\t \x01(\tR\x15gitCommitAuthorHandle\x12>\n" + "\x1cgit_commit_author_avatar_url\x18\n" + " \x01(\tR\x18gitCommitAuthorAvatarUrl\x120\n" + - "\x14git_commit_timestamp\x18\v \x01(\x03R\x12gitCommitTimestamp\x12$\n" + - "\vkeyspace_id\x18\f \x01(\tH\x00R\n" + - "keyspaceId\x88\x01\x01B\x0e\n" + - "\f_keyspace_id\"r\n" + + "\x14git_commit_timestamp\x18\v \x01(\x03R\x12gitCommitTimestamp\x12\x1a\n" + + "\x06api_id\x18\f \x01(\tH\x00R\x05apiId\x88\x01\x01B\t\n" + + "\a_api_id\"r\n" + "\x18CreateDeploymentResponse\x12#\n" + "\rdeployment_id\x18\x01 \x01(\tR\fdeploymentId\x121\n" + "\x06status\x18\x02 \x01(\x0e2\x19.ctrl.v1.DeploymentStatusR\x06status\";\n" + @@ -1082,7 +1193,16 @@ const file_ctrl_v1_deployment_proto_rawDesc = "" + "\x10RollbackResponse\"B\n" + "\x0ePromoteRequest\x120\n" + "\x14target_deployment_id\x18\x01 \x01(\tR\x12targetDeploymentId\"\x11\n" + - "\x0fPromoteResponse*\xef\x01\n" + + "\x0fPromoteResponse\"2\n" + + "\x11GetProjectRequest\x12\x1d\n" + + "\n" + + "project_id\x18\x01 \x01(\tR\tprojectId\"~\n" + + "\x12GetProjectResponse\x12\x1d\n" + + "\n" + + "project_id\x18\x01 \x01(\tR\tprojectId\x12!\n" + + "\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x12\n" + + "\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" + + "\x04slug\x18\x04 \x01(\tR\x04slug*\xef\x01\n" + "\x10DeploymentStatus\x12!\n" + "\x1dDEPLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" + "\x19DEPLOYMENT_STATUS_PENDING\x10\x01\x12\x1e\n" + @@ -1095,7 +1215,7 @@ const file_ctrl_v1_deployment_proto_rawDesc = "" + "SourceType\x12\x1b\n" + "\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n" + "\x0fSOURCE_TYPE_GIT\x10\x01\x12\x1a\n" + - "\x16SOURCE_TYPE_CLI_UPLOAD\x10\x022\xc3\x02\n" + + "\x16SOURCE_TYPE_CLI_UPLOAD\x10\x022\x8c\x03\n" + "\x11DeploymentService\x12Y\n" + "\x10CreateDeployment\x12 .ctrl.v1.CreateDeploymentRequest\x1a!.ctrl.v1.CreateDeploymentResponse\"\x00\x12P\n" + "\rGetDeployment\x12\x1d.ctrl.v1.GetDeploymentRequest\x1a\x1e.ctrl.v1.GetDeploymentResponse\"\x00\x12A\n" + @@ -1116,7 +1236,7 @@ func file_ctrl_v1_deployment_proto_rawDescGZIP() []byte { } var file_ctrl_v1_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_ctrl_v1_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_ctrl_v1_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_ctrl_v1_deployment_proto_goTypes = []any{ (DeploymentStatus)(0), // 0: ctrl.v1.DeploymentStatus (SourceType)(0), // 1: ctrl.v1.SourceType @@ -1132,14 +1252,16 @@ var file_ctrl_v1_deployment_proto_goTypes = []any{ (*RollbackResponse)(nil), // 11: ctrl.v1.RollbackResponse (*PromoteRequest)(nil), // 12: ctrl.v1.PromoteRequest (*PromoteResponse)(nil), // 13: ctrl.v1.PromoteResponse - nil, // 14: ctrl.v1.Deployment.EnvironmentVariablesEntry + (*GetProjectRequest)(nil), // 14: ctrl.v1.GetProjectRequest + (*GetProjectResponse)(nil), // 15: ctrl.v1.GetProjectResponse + nil, // 16: ctrl.v1.Deployment.EnvironmentVariablesEntry } var file_ctrl_v1_deployment_proto_depIdxs = []int32{ 1, // 0: ctrl.v1.CreateDeploymentRequest.source_type:type_name -> ctrl.v1.SourceType 0, // 1: ctrl.v1.CreateDeploymentResponse.status:type_name -> ctrl.v1.DeploymentStatus 6, // 2: ctrl.v1.GetDeploymentResponse.deployment:type_name -> ctrl.v1.Deployment 0, // 3: ctrl.v1.Deployment.status:type_name -> ctrl.v1.DeploymentStatus - 14, // 4: ctrl.v1.Deployment.environment_variables:type_name -> ctrl.v1.Deployment.EnvironmentVariablesEntry + 16, // 4: ctrl.v1.Deployment.environment_variables:type_name -> ctrl.v1.Deployment.EnvironmentVariablesEntry 8, // 5: ctrl.v1.Deployment.topology:type_name -> ctrl.v1.Topology 7, // 6: ctrl.v1.Deployment.steps:type_name -> ctrl.v1.DeploymentStep 9, // 7: ctrl.v1.Topology.regions:type_name -> ctrl.v1.RegionalConfig @@ -1147,12 +1269,14 @@ var file_ctrl_v1_deployment_proto_depIdxs = []int32{ 4, // 9: ctrl.v1.DeploymentService.GetDeployment:input_type -> ctrl.v1.GetDeploymentRequest 10, // 10: ctrl.v1.DeploymentService.Rollback:input_type -> ctrl.v1.RollbackRequest 12, // 11: ctrl.v1.DeploymentService.Promote:input_type -> ctrl.v1.PromoteRequest - 3, // 12: ctrl.v1.DeploymentService.CreateDeployment:output_type -> ctrl.v1.CreateDeploymentResponse - 5, // 13: ctrl.v1.DeploymentService.GetDeployment:output_type -> ctrl.v1.GetDeploymentResponse - 11, // 14: ctrl.v1.DeploymentService.Rollback:output_type -> ctrl.v1.RollbackResponse - 13, // 15: ctrl.v1.DeploymentService.Promote:output_type -> ctrl.v1.PromoteResponse - 12, // [12:16] is the sub-list for method output_type - 8, // [8:12] is the sub-list for method input_type + 14, // 12: ctrl.v1.DeploymentService.GetProject:input_type -> ctrl.v1.GetProjectRequest + 3, // 13: ctrl.v1.DeploymentService.CreateDeployment:output_type -> ctrl.v1.CreateDeploymentResponse + 5, // 14: ctrl.v1.DeploymentService.GetDeployment:output_type -> ctrl.v1.GetDeploymentResponse + 11, // 15: ctrl.v1.DeploymentService.Rollback:output_type -> ctrl.v1.RollbackResponse + 13, // 16: ctrl.v1.DeploymentService.Promote:output_type -> ctrl.v1.PromoteResponse + 15, // 17: ctrl.v1.DeploymentService.GetProject:output_type -> ctrl.v1.GetProjectResponse + 13, // [13:18] is the sub-list for method output_type + 8, // [8:13] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name @@ -1170,7 +1294,7 @@ func file_ctrl_v1_deployment_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_ctrl_v1_deployment_proto_rawDesc), len(file_ctrl_v1_deployment_proto_rawDesc)), NumEnums: 2, - NumMessages: 13, + NumMessages: 15, NumExtensions: 0, NumServices: 1, }, diff --git a/go/pkg/codes/constants_gen.go b/go/pkg/codes/constants_gen.go index 204cbbd4ad..752bfcc4f4 100644 --- a/go/pkg/codes/constants_gen.go +++ b/go/pkg/codes/constants_gen.go @@ -6,11 +6,11 @@ type URN string // Error code constants for use in switch statements for exhaustive checking const ( - // ---------------- - // UserErrors - // ---------------- +// ---------------- +// UserErrors +// ---------------- - // BadRequest +// BadRequest // PermissionsQuerySyntaxError indicates a syntax or lexical error in verifyKey permissions query parsing. UserErrorsBadRequestPermissionsQuerySyntaxError URN = "err:user:bad_request:permissions_query_syntax_error" @@ -21,11 +21,11 @@ const ( // ClientClosedRequest indicates the client closed the connection before the request completed. UserErrorsBadRequestClientClosedRequest URN = "err:user:bad_request:client_closed_request" - // ---------------- - // UnkeyAuthErrors - // ---------------- +// ---------------- +// UnkeyAuthErrors +// ---------------- - // Authentication +// Authentication // Missing indicates authentication credentials were not provided. UnkeyAuthErrorsAuthenticationMissing URN = "err:unkey:authentication:missing" @@ -34,7 +34,7 @@ const ( // KeyNotFound indicates the authentication key was not found. UnkeyAuthErrorsAuthenticationKeyNotFound URN = "err:unkey:authentication:key_not_found" - // Authorization +// Authorization // InsufficientPermissions indicates the authenticated entity lacks // sufficient permissions for the requested operation. @@ -46,101 +46,101 @@ const ( // WorkspaceDisabled indicates the associated workspace is disabled. UnkeyAuthErrorsAuthorizationWorkspaceDisabled URN = "err:unkey:authorization:workspace_disabled" - // ---------------- - // UnkeyDataErrors - // ---------------- +// ---------------- +// UnkeyDataErrors +// ---------------- - // Key +// Key // NotFound indicates the requested key was not found. UnkeyDataErrorsKeyNotFound URN = "err:unkey:data:key_not_found" - // Workspace +// Workspace // NotFound indicates the requested workspace was not found. UnkeyDataErrorsWorkspaceNotFound URN = "err:unkey:data:workspace_not_found" - // Api +// Api // NotFound indicates the requested API was not found. UnkeyDataErrorsApiNotFound URN = "err:unkey:data:api_not_found" - // Permission +// Permission // Duplicate indicates the requested permission already exists. UnkeyDataErrorsPermissionDuplicate URN = "err:unkey:data:permission_already_exists" // NotFound indicates the requested permission was not found. UnkeyDataErrorsPermissionNotFound URN = "err:unkey:data:permission_not_found" - // Role +// Role // Duplicate indicates the requested role already exists. UnkeyDataErrorsRoleDuplicate URN = "err:unkey:data:role_already_exists" // NotFound indicates the requested role was not found. UnkeyDataErrorsRoleNotFound URN = "err:unkey:data:role_not_found" - // KeyAuth +// KeyAuth // NotFound indicates the requested key authentication was not found. UnkeyDataErrorsKeyAuthNotFound URN = "err:unkey:data:key_auth_not_found" - // RatelimitNamespace +// RatelimitNamespace // NotFound indicates the requested rate limit namespace was not found. UnkeyDataErrorsRatelimitNamespaceNotFound URN = "err:unkey:data:ratelimit_namespace_not_found" // Gone indicates the requested rate limit namespace was deleted and is no longer available. UnkeyDataErrorsRatelimitNamespaceGone URN = "err:unkey:data:ratelimit_namespace_gone" - // RatelimitOverride +// RatelimitOverride // NotFound indicates the requested rate limit override was not found. UnkeyDataErrorsRatelimitOverrideNotFound URN = "err:unkey:data:ratelimit_override_not_found" - // Identity +// Identity // NotFound indicates the requested identity was not found. UnkeyDataErrorsIdentityNotFound URN = "err:unkey:data:identity_not_found" // Duplicate indicates the requested identity already exists. UnkeyDataErrorsIdentityDuplicate URN = "err:unkey:data:identity_already_exists" - // AuditLog +// AuditLog // NotFound indicates the requested audit log was not found. UnkeyDataErrorsAuditLogNotFound URN = "err:unkey:data:audit_log_not_found" - // ---------------- - // UnkeyAppErrors - // ---------------- +// ---------------- +// UnkeyAppErrors +// ---------------- - // Internal +// Internal // UnexpectedError represents an unhandled or unexpected error condition. UnkeyAppErrorsInternalUnexpectedError URN = "err:unkey:application:unexpected_error" // ServiceUnavailable indicates a service is temporarily unavailable. UnkeyAppErrorsInternalServiceUnavailable URN = "err:unkey:application:service_unavailable" - // Validation +// Validation // InvalidInput indicates a client provided input that failed validation. UnkeyAppErrorsValidationInvalidInput URN = "err:unkey:application:invalid_input" // AssertionFailed indicates a runtime assertion or invariant check failed. UnkeyAppErrorsValidationAssertionFailed URN = "err:unkey:application:assertion_failed" - // Protection +// Protection // ProtectedResource indicates an attempt to modify a protected resource. UnkeyAppErrorsProtectionProtectedResource URN = "err:unkey:application:protected_resource" - // Precondition +// Precondition // PreconditionFailed indicates a precondition check failed. UnkeyAppErrorsPreconditionPreconditionFailed URN = "err:unkey:application:precondition_failed" - // ---------------- - // UnkeyGatewayErrors - // ---------------- +// ---------------- +// UnkeyGatewayErrors +// ---------------- - // Proxy +// Proxy // BadGateway represents a 502 error - invalid response from upstream server UnkeyGatewayErrorsProxyBadGateway URN = "err:unkey:bad_gateway:bad_gateway" @@ -151,31 +151,32 @@ const ( // ProxyForwardFailed represents a 502 error - failed to forward request to backend UnkeyGatewayErrorsProxyProxyForwardFailed URN = "err:unkey:bad_gateway:proxy_forward_failed" - // Routing +// Routing // ConfigNotFound represents a 404 error - no gateway configuration found for the requested host UnkeyGatewayErrorsRoutingConfigNotFound URN = "err:unkey:not_found:config_not_found" // VMSelectionFailed represents a 500 error - failed to select an available VM UnkeyGatewayErrorsRoutingVMSelectionFailed URN = "err:unkey:internal_server_error:vm_selection_failed" - // Auth +// Auth // Unauthorized represents a 401 error - authentication required or failed UnkeyGatewayErrorsAuthUnauthorized URN = "err:unkey:unauthorized:unauthorized" // RateLimited represents a 429 error - rate limit exceeded UnkeyGatewayErrorsAuthRateLimited URN = "err:unkey:rate_limited:rate_limited" - // Validation +// Validation // RequestInvalid represents a 400 error - request validation failed UnkeyGatewayErrorsValidationRequestInvalid URN = "err:unkey:bad_request:request_invalid" // ResponseInvalid represents a 502 error - response validation failed UnkeyGatewayErrorsValidationResponseInvalid URN = "err:unkey:bad_request:response_invalid" - // Internal +// Internal // InternalServerError represents a 500 error - internal server error UnkeyGatewayErrorsInternalInternalServerError URN = "err:unkey:internal_server_error:internal_server_error" // KeyVerificationFailed represents a 500 error - key verification service failure UnkeyGatewayErrorsInternalKeyVerificationFailed URN = "err:unkey:internal_server_error:key_verification_failed" + ) diff --git a/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go b/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go index 3b4a3f100b..f66dd23bb3 100644 --- a/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go +++ b/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertAcmeChallenges(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_acme_user_insert.sql_generated.go b/go/pkg/db/bulk_acme_user_insert.sql_generated.go index 69e10d3857..9558cd3c46 100644 --- a/go/pkg/db/bulk_acme_user_insert.sql_generated.go +++ b/go/pkg/db/bulk_acme_user_insert.sql_generated.go @@ -35,6 +35,6 @@ func (q *BulkQueries) InsertAcmeUsers(ctx context.Context, db DBTX, args []Inser } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_api_insert.sql_generated.go b/go/pkg/db/bulk_api_insert.sql_generated.go index c00eb0bee0..af80dd6dd7 100644 --- a/go/pkg/db/bulk_api_insert.sql_generated.go +++ b/go/pkg/db/bulk_api_insert.sql_generated.go @@ -39,6 +39,6 @@ func (q *BulkQueries) InsertApis(ctx context.Context, db DBTX, args []InsertApiP } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_audit_log_insert.sql_generated.go b/go/pkg/db/bulk_audit_log_insert.sql_generated.go index 32f9944441..ac40a8749f 100644 --- a/go/pkg/db/bulk_audit_log_insert.sql_generated.go +++ b/go/pkg/db/bulk_audit_log_insert.sql_generated.go @@ -46,6 +46,6 @@ func (q *BulkQueries) InsertAuditLogs(ctx context.Context, db DBTX, args []Inser } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go b/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go index 92275b86f1..f2fde7d840 100644 --- a/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go +++ b/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go @@ -42,6 +42,6 @@ func (q *BulkQueries) InsertAuditLogTargets(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_deployment_insert.sql_generated.go b/go/pkg/db/bulk_deployment_insert.sql_generated.go index 465a6610ea..fc7488048c 100644 --- a/go/pkg/db/bulk_deployment_insert.sql_generated.go +++ b/go/pkg/db/bulk_deployment_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertDeployments(ctx context.Context, db DBTX, args []Ins } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_deployment_step_insert.sql_generated.go b/go/pkg/db/bulk_deployment_step_insert.sql_generated.go index c1fee0f52b..8052214e57 100644 --- a/go/pkg/db/bulk_deployment_step_insert.sql_generated.go +++ b/go/pkg/db/bulk_deployment_step_insert.sql_generated.go @@ -40,6 +40,6 @@ func (q *BulkQueries) InsertDeploymentSteps(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_domain_insert.sql_generated.go b/go/pkg/db/bulk_domain_insert.sql_generated.go index 036190e528..bec3ac20bc 100644 --- a/go/pkg/db/bulk_domain_insert.sql_generated.go +++ b/go/pkg/db/bulk_domain_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertDomains(ctx context.Context, db DBTX, args []InsertD } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_identity_insert.sql_generated.go b/go/pkg/db/bulk_identity_insert.sql_generated.go index 80bd90e82f..c3b4583a8e 100644 --- a/go/pkg/db/bulk_identity_insert.sql_generated.go +++ b/go/pkg/db/bulk_identity_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertIdentities(ctx context.Context, db DBTX, args []Inse } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go b/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go index 18d07f1836..d4ba807b99 100644 --- a/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go +++ b/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go @@ -45,6 +45,6 @@ func (q *BulkQueries) InsertIdentityRatelimits(ctx context.Context, db DBTX, arg } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_encryption_insert.sql_generated.go b/go/pkg/db/bulk_key_encryption_insert.sql_generated.go index 9a3a16ad9a..372ecc9d4f 100644 --- a/go/pkg/db/bulk_key_encryption_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_encryption_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertKeyEncryptions(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_insert.sql_generated.go b/go/pkg/db/bulk_key_insert.sql_generated.go index cfffaa2138..924911df0e 100644 --- a/go/pkg/db/bulk_key_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertKeys(ctx context.Context, db DBTX, args []InsertKeyP } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go b/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go index 2b1a2f00f7..e6b3fce603 100644 --- a/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go +++ b/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go @@ -49,6 +49,6 @@ func (q *BulkQueries) InsertKeyRatelimits(ctx context.Context, db DBTX, args []I } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_permission_insert.sql_generated.go b/go/pkg/db/bulk_key_permission_insert.sql_generated.go index f12060f1ea..a3a83d8298 100644 --- a/go/pkg/db/bulk_key_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_permission_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertKeyPermissions(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_role_insert.sql_generated.go b/go/pkg/db/bulk_key_role_insert.sql_generated.go index 75654742d0..81da1a0f12 100644 --- a/go/pkg/db/bulk_key_role_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_role_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertKeyRoles(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_keyring_insert.sql_generated.go b/go/pkg/db/bulk_keyring_insert.sql_generated.go index 5848067565..cf5a91665f 100644 --- a/go/pkg/db/bulk_keyring_insert.sql_generated.go +++ b/go/pkg/db/bulk_keyring_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertKeyrings(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_permission_insert.sql_generated.go b/go/pkg/db/bulk_permission_insert.sql_generated.go index 05f6d971e7..a5ed0f59cd 100644 --- a/go/pkg/db/bulk_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_permission_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertPermissions(ctx context.Context, db DBTX, args []Ins } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_project_insert.sql_generated.go b/go/pkg/db/bulk_project_insert.sql_generated.go index 01d8a3935c..60b5486231 100644 --- a/go/pkg/db/bulk_project_insert.sql_generated.go +++ b/go/pkg/db/bulk_project_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertProjects(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go b/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go index 932e54826c..c8be775169 100644 --- a/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go +++ b/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertRatelimitNamespaces(ctx context.Context, db DBTX, ar } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go b/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go index f6172160ca..9d114c4909 100644 --- a/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go +++ b/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go @@ -48,6 +48,6 @@ func (q *BulkQueries) InsertRatelimitOverrides(ctx context.Context, db DBTX, arg } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_role_insert.sql_generated.go b/go/pkg/db/bulk_role_insert.sql_generated.go index 5d0fd376fb..ebdb688647 100644 --- a/go/pkg/db/bulk_role_insert.sql_generated.go +++ b/go/pkg/db/bulk_role_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertRoles(ctx context.Context, db DBTX, args []InsertRol } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_role_permission_insert.sql_generated.go b/go/pkg/db/bulk_role_permission_insert.sql_generated.go index c00635ce68..fda1b0d623 100644 --- a/go/pkg/db/bulk_role_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_role_permission_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertRolePermissions(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_workspace_insert.sql_generated.go b/go/pkg/db/bulk_workspace_insert.sql_generated.go index 2aa27b0eaa..eb5de58d43 100644 --- a/go/pkg/db/bulk_workspace_insert.sql_generated.go +++ b/go/pkg/db/bulk_workspace_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertWorkspaces(ctx context.Context, db DBTX, args []Inse } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go b/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go index b4417fce73..de32aa79ec 100644 --- a/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go +++ b/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertCertificates(ctx context.Context, db DBTX, args []In } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go b/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go index 8284413b0f..a7276f7e5e 100644 --- a/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go +++ b/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go @@ -46,6 +46,6 @@ func (q *BulkQueries) UpsertGateway(ctx context.Context, db DBTX, args []UpsertG } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go b/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go index fd6e97a9a4..7a2b0f3e35 100644 --- a/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go +++ b/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go @@ -43,6 +43,6 @@ func (q *BulkQueries) UpsertVM(ctx context.Context, db DBTX, args []UpsertVMPara } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/proto/ctrl/v1/deployment.proto b/go/proto/ctrl/v1/deployment.proto index 7d72c5b507..036bb507c7 100644 --- a/go/proto/ctrl/v1/deployment.proto +++ b/go/proto/ctrl/v1/deployment.proto @@ -41,8 +41,8 @@ message CreateDeploymentRequest { string git_commit_author_avatar_url = 10; int64 git_commit_timestamp = 11; // Unix epoch milliseconds - // Keyspace ID for authentication - optional string keyspace_id = 12; + // API ID for authentication + optional string api_id = 12; } message CreateDeploymentResponse { @@ -139,6 +139,17 @@ message PromoteRequest { message PromoteResponse {} +message GetProjectRequest { + string project_id = 1; +} + +message GetProjectResponse { + string project_id = 1; + string workspace_id = 2; + string name = 3; + string slug = 4; +} + service DeploymentService { // Create a new deployment rpc CreateDeployment(CreateDeploymentRequest) returns (CreateDeploymentResponse) {} @@ -151,4 +162,7 @@ service DeploymentService { // Promote the deployment to the live environment rpc Promote(PromoteRequest) returns (PromoteResponse) {} + + // Get project details by ID + rpc GetProject(GetProjectRequest) returns (GetProjectResponse) {} } diff --git a/internal/proto/generated/ctrl/v1/acme_pb.ts b/internal/proto/generated/ctrl/v1/acme_pb.ts index be06b20ed0..efe6c0dd7d 100644 --- a/internal/proto/generated/ctrl/v1/acme_pb.ts +++ b/internal/proto/generated/ctrl/v1/acme_pb.ts @@ -2,62 +2,54 @@ // @generated from file ctrl/v1/acme.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/acme.proto. */ -export const file_ctrl_v1_acme: GenFile = - /*@__PURE__*/ - fileDesc( - "ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", - [file_google_protobuf_timestamp], - ); +export const file_ctrl_v1_acme: GenFile = /*@__PURE__*/ + fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.HandleCertificateVerificationRequest */ -export type HandleCertificateVerificationRequest = - Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { - /** - * @generated from field: string domain = 1; - */ - domain: string; +export type HandleCertificateVerificationRequest = Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { + /** + * @generated from field: string domain = 1; + */ + domain: string; - /** - * @generated from field: string token = 2; - */ - token: string; - }; + /** + * @generated from field: string token = 2; + */ + token: string; +}; /** * Describes the message ctrl.v1.HandleCertificateVerificationRequest. * Use `create(HandleCertificateVerificationRequestSchema)` to create a new message. */ -export const HandleCertificateVerificationRequestSchema: GenMessage = - /*@__PURE__*/ +export const HandleCertificateVerificationRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 0); /** * @generated from message ctrl.v1.HandleCertificateVerificationResponse */ -export type HandleCertificateVerificationResponse = - Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { - /** - * @generated from field: string token = 1; - */ - token: string; - }; +export type HandleCertificateVerificationResponse = Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { + /** + * @generated from field: string token = 1; + */ + token: string; +}; /** * Describes the message ctrl.v1.HandleCertificateVerificationResponse. * Use `create(HandleCertificateVerificationResponseSchema)` to create a new message. */ -export const HandleCertificateVerificationResponseSchema: GenMessage = - /*@__PURE__*/ +export const HandleCertificateVerificationResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 1); /** @@ -71,5 +63,7 @@ export const AcmeService: GenService<{ methodKind: "unary"; input: typeof HandleCertificateVerificationRequestSchema; output: typeof HandleCertificateVerificationResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_acme, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_acme, 0); + diff --git a/internal/proto/generated/ctrl/v1/build_pb.ts b/internal/proto/generated/ctrl/v1/build_pb.ts index 54e8b407ac..a1757d273b 100644 --- a/internal/proto/generated/ctrl/v1/build_pb.ts +++ b/internal/proto/generated/ctrl/v1/build_pb.ts @@ -2,21 +2,17 @@ // @generated from file ctrl/v1/build.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/build.proto. */ -export const file_ctrl_v1_build: GenFile = - /*@__PURE__*/ - fileDesc( - "ChNjdHJsL3YxL2J1aWxkLnByb3RvEgdjdHJsLnYxImgKEkNyZWF0ZUJ1aWxkUmVxdWVzdBIUCgx3b3Jrc3BhY2VfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRISCgp2ZXJzaW9uX2lkGAMgASgJEhQKDGRvY2tlcl9pbWFnZRgEIAEoCSInChNDcmVhdGVCdWlsZFJlc3BvbnNlEhAKCGJ1aWxkX2lkGAEgASgJIiMKD0dldEJ1aWxkUmVxdWVzdBIQCghidWlsZF9pZBgBIAEoCSIxChBHZXRCdWlsZFJlc3BvbnNlEh0KBWJ1aWxkGAEgASgLMg4uY3RybC52MS5CdWlsZCLpAgoFQnVpbGQSCgoCaWQYASABKAkSFAoMd29ya3NwYWNlX2lkGAIgASgJEhIKCnByb2plY3RfaWQYAyABKAkSEgoKdmVyc2lvbl9pZBgEIAEoCRIkCgZzdGF0dXMYBSABKA4yFC5jdHJsLnYxLkJ1aWxkU3RhdHVzEhUKDWVycm9yX21lc3NhZ2UYBiABKAkSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKc3RhcnRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMAoMY29tcGxldGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLl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JEhIKCnByb2plY3RfaWQYAyABKAkSEgoKdmVyc2lvbl9pZBgEIAEoCRIkCgZzdGF0dXMYBSABKA4yFC5jdHJsLnYxLkJ1aWxkU3RhdHVzEhUKDWVycm9yX21lc3NhZ2UYBiABKAkSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKc3RhcnRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMAoMY29tcGxldGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIXCg9yb290ZnNfaW1hZ2VfaWQYCyABKAkqsAEKC0J1aWxkU3RhdHVzEhwKGEJVSUxEX1NUQVRVU19VTlNQRUNJRklFRBAAEhgKFEJVSUxEX1NUQVRVU19QRU5ESU5HEAESGAoUQlVJTERfU1RBVFVTX1JVTk5JTkcQAhIaChZCVUlMRF9TVEFUVVNfU1VDQ0VFREVEEAMSFwoTQlVJTERfU1RBVFVTX0ZBSUxFRBAEEhoKFkJVSUxEX1NUQVRVU19DQU5DRUxMRUQQBTKdAQoMQnVpbGRTZXJ2aWNlEkoKC0NyZWF0ZUJ1aWxkEhsuY3RybC52MS5DcmVhdGVCdWlsZFJlcXVlc3QaHC5jdHJsLnYxLkNyZWF0ZUJ1aWxkUmVzcG9uc2UiABJBCghHZXRCdWlsZBIYLmN0cmwudjEuR2V0QnVpbGRSZXF1ZXN0GhkuY3RybC52MS5HZXRCdWlsZFJlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.CreateBuildRequest @@ -47,8 +43,7 @@ export type CreateBuildRequest = Message<"ctrl.v1.CreateBuildRequest"> & { * Describes the message ctrl.v1.CreateBuildRequest. * Use `create(CreateBuildRequestSchema)` to create a new message. */ -export const CreateBuildRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateBuildRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 0); /** @@ -65,8 +60,7 @@ export type CreateBuildResponse = Message<"ctrl.v1.CreateBuildResponse"> & { * Describes the message ctrl.v1.CreateBuildResponse. * Use `create(CreateBuildResponseSchema)` to create a new message. */ -export const CreateBuildResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateBuildResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 1); /** @@ -83,8 +77,7 @@ export type GetBuildRequest = Message<"ctrl.v1.GetBuildRequest"> & { * Describes the message ctrl.v1.GetBuildRequest. * Use `create(GetBuildRequestSchema)` to create a new message. */ -export const GetBuildRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetBuildRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 2); /** @@ -101,8 +94,7 @@ export type GetBuildResponse = Message<"ctrl.v1.GetBuildResponse"> & { * Describes the message ctrl.v1.GetBuildResponse. * Use `create(GetBuildResponseSchema)` to create a new message. */ -export const GetBuildResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetBuildResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 3); /** @@ -179,7 +171,8 @@ export type Build = Message<"ctrl.v1.Build"> & { * Describes the message ctrl.v1.Build. * Use `create(BuildSchema)` to create a new message. */ -export const BuildSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 4); +export const BuildSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_ctrl_v1_build, 4); /** * Build status enum @@ -221,8 +214,7 @@ export enum BuildStatus { /** * Describes the enum ctrl.v1.BuildStatus. */ -export const BuildStatusSchema: GenEnum = - /*@__PURE__*/ +export const BuildStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_build, 0); /** @@ -238,7 +230,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof CreateBuildRequestSchema; output: typeof CreateBuildResponseSchema; - }; + }, /** * Get build details * @@ -248,5 +240,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof GetBuildRequestSchema; output: typeof GetBuildResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_build, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_build, 0); + diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 6be0682d4a..0a6af525b3 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -2,18 +2,15 @@ // @generated from file ctrl/v1/deployment.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/deployment.proto. */ -export const file_ctrl_v1_deployment: GenFile = - /*@__PURE__*/ - fileDesc( - "ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi8QIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhQKDHdvcmtzcGFjZV9pZBgBIAEoCRISCgpwcm9qZWN0X2lkGAIgASgJEg4KBmJyYW5jaBgDIAEoCRIYChBlbnZpcm9ubWVudF9zbHVnGAQgASgJEigKC3NvdXJjZV90eXBlGAUgASgOMhMuY3RybC52MS5Tb3VyY2VUeXBlEhQKDGRvY2tlcl9pbWFnZRgGIAEoCRIWCg5naXRfY29tbWl0X3NoYRgHIAEoCRIaChJnaXRfY29tbWl0X21lc3NhZ2UYCCABKAkSIAoYZ2l0X2NvbW1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Jlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z"); /** * @generated from message ctrl.v1.CreateDeploymentRequest @@ -85,19 +82,18 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> gitCommitTimestamp: bigint; /** - * Keyspace ID for authentication + * API ID for authentication * - * @generated from field: optional string keyspace_id = 12; + * @generated from field: optional string api_id = 12; */ - keyspaceId?: string; + apiId?: string; }; /** * Describes the message ctrl.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 0); /** @@ -121,8 +117,7 @@ export type CreateDeploymentResponse = Message<"ctrl.v1.CreateDeploymentResponse * Describes the message ctrl.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 1); /** @@ -139,8 +134,7 @@ export type GetDeploymentRequest = Message<"ctrl.v1.GetDeploymentRequest"> & { * Describes the message ctrl.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 2); /** @@ -157,8 +151,7 @@ export type GetDeploymentResponse = Message<"ctrl.v1.GetDeploymentResponse"> & { * Describes the message ctrl.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 3); /** @@ -294,8 +287,7 @@ export type Deployment = Message<"ctrl.v1.Deployment"> & { * Describes the message ctrl.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 4); /** @@ -327,8 +319,7 @@ export type DeploymentStep = Message<"ctrl.v1.DeploymentStep"> & { * Describes the message ctrl.v1.DeploymentStep. * Use `create(DeploymentStepSchema)` to create a new message. */ -export const DeploymentStepSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentStepSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 5); /** @@ -376,8 +367,7 @@ export type Topology = Message<"ctrl.v1.Topology"> & { * Describes the message ctrl.v1.Topology. * Use `create(TopologySchema)` to create a new message. */ -export const TopologySchema: GenMessage = - /*@__PURE__*/ +export const TopologySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 6); /** @@ -404,8 +394,7 @@ export type RegionalConfig = Message<"ctrl.v1.RegionalConfig"> & { * Describes the message ctrl.v1.RegionalConfig. * Use `create(RegionalConfigSchema)` to create a new message. */ -export const RegionalConfigSchema: GenMessage = - /*@__PURE__*/ +export const RegionalConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 7); /** @@ -427,21 +416,20 @@ export type RollbackRequest = Message<"ctrl.v1.RollbackRequest"> & { * Describes the message ctrl.v1.RollbackRequest. * Use `create(RollbackRequestSchema)` to create a new message. */ -export const RollbackRequestSchema: GenMessage = - /*@__PURE__*/ +export const RollbackRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 8); /** * @generated from message ctrl.v1.RollbackResponse */ -export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & {}; +export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & { +}; /** * Describes the message ctrl.v1.RollbackResponse. * Use `create(RollbackResponseSchema)` to create a new message. */ -export const RollbackResponseSchema: GenMessage = - /*@__PURE__*/ +export const RollbackResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 9); /** @@ -458,23 +446,71 @@ export type PromoteRequest = Message<"ctrl.v1.PromoteRequest"> & { * Describes the message ctrl.v1.PromoteRequest. * Use `create(PromoteRequestSchema)` to create a new message. */ -export const PromoteRequestSchema: GenMessage = - /*@__PURE__*/ +export const PromoteRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 10); /** * @generated from message ctrl.v1.PromoteResponse */ -export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & {}; +export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & { +}; /** * Describes the message ctrl.v1.PromoteResponse. * Use `create(PromoteResponseSchema)` to create a new message. */ -export const PromoteResponseSchema: GenMessage = - /*@__PURE__*/ +export const PromoteResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 11); +/** + * @generated from message ctrl.v1.GetProjectRequest + */ +export type GetProjectRequest = Message<"ctrl.v1.GetProjectRequest"> & { + /** + * @generated from field: string project_id = 1; + */ + projectId: string; +}; + +/** + * Describes the message ctrl.v1.GetProjectRequest. + * Use `create(GetProjectRequestSchema)` to create a new message. + */ +export const GetProjectRequestSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_ctrl_v1_deployment, 12); + +/** + * @generated from message ctrl.v1.GetProjectResponse + */ +export type GetProjectResponse = Message<"ctrl.v1.GetProjectResponse"> & { + /** + * @generated from field: string project_id = 1; + */ + projectId: string; + + /** + * @generated from field: string workspace_id = 2; + */ + workspaceId: string; + + /** + * @generated from field: string name = 3; + */ + name: string; + + /** + * @generated from field: string slug = 4; + */ + slug: string; +}; + +/** + * Describes the message ctrl.v1.GetProjectResponse. + * Use `create(GetProjectResponseSchema)` to create a new message. + */ +export const GetProjectResponseSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_ctrl_v1_deployment, 13); + /** * Deployment status enum * @@ -520,8 +556,7 @@ export enum DeploymentStatus { /** * Describes the enum ctrl.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = - /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 0); /** @@ -549,8 +584,7 @@ export enum SourceType { /** * Describes the enum ctrl.v1.SourceType. */ -export const SourceTypeSchema: GenEnum = - /*@__PURE__*/ +export const SourceTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 1); /** @@ -566,7 +600,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }; + }, /** * Get deployment details * @@ -576,7 +610,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }; + }, /** * Reassign the sticky domains of the projects live deployment to the target deployment * @@ -586,7 +620,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof RollbackRequestSchema; output: typeof RollbackResponseSchema; - }; + }, /** * Promote the deployment to the live environment * @@ -596,5 +630,17 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof PromoteRequestSchema; output: typeof PromoteResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_deployment, 0); + }, + /** + * Get project details by ID + * + * @generated from rpc ctrl.v1.DeploymentService.GetProject + */ + getProject: { + methodKind: "unary"; + input: typeof GetProjectRequestSchema; + output: typeof GetProjectResponseSchema; + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_deployment, 0); + diff --git a/internal/proto/generated/ctrl/v1/openapi_pb.ts b/internal/proto/generated/ctrl/v1/openapi_pb.ts index bd94d2eab2..91dacf09ac 100644 --- a/internal/proto/generated/ctrl/v1/openapi_pb.ts +++ b/internal/proto/generated/ctrl/v1/openapi_pb.ts @@ -2,18 +2,15 @@ // @generated from file ctrl/v1/openapi.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/openapi.proto. */ -export const file_ctrl_v1_openapi: GenFile = - /*@__PURE__*/ - fileDesc( - "ChVjdHJsL3YxL29wZW5hcGkucHJvdG8SB2N0cmwudjEiTQoVR2V0T3BlbkFwaURpZmZSZXF1ZXN0EhkKEW9sZF9kZXBsb3ltZW50X2lkGAEgASgJEhkKEW5ld19kZXBsb3ltZW50X2lkGAIgASgJIoYBCg5DaGFuZ2Vsb2dFbnRyeRIKCgJpZBgBIAEoCRIMCgR0ZXh0GAIgASgJEg0KBWxldmVsGAMgASgFEhEKCW9wZXJhdGlvbhgEIAEoCRIZCgxvcGVyYXRpb25faWQYBSABKAlIAIgBARIMCgRwYXRoGAYgASgJQg8KDV9vcGVyYXRpb25faWQiQgoLRGlmZlN1bW1hcnkSDAoEZGlmZhgBIAEoCBIlCgdkZXRhaWxzGAIgASgLMhQuY3RybC52MS5EaWZmRGV0YWlscyJ/CgtEaWZmRGV0YWlscxImCgllbmRwb2ludHMYASABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSIgoFcGF0aHMYAiABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSJAoHc2NoZW1hcxgDIAEoCzITLmN0cmwudjEuRGlmZkNvdW50cyI+CgpEaWZmQ291bnRzEg0KBWFkZGVkGAEgASgFEg8KB2RlbGV0ZWQYAiABKAUSEAoIbW9kaWZpZWQYAyABKAUihwEKFkdldE9wZW5BcGlEaWZmUmVzcG9uc2USJQoHc3VtbWFyeRgBIAEoCzIULmN0cmwudjEuRGlmZlN1bW1hcnkSHAoUaGFzX2JyZWFraW5nX2NoYW5nZXMYAiABKAgSKAoHY2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W1hcnkSHAoUaGFzX2JyZWFraW5nX2NoYW5nZXMYAiABKAgSKAoHY2hhbmdlcxgDIAMoCzIXLmN0cmwudjEuQ2hhbmdlbG9nRW50cnkyZQoOT3BlbkFwaVNlcnZpY2USUwoOR2V0T3BlbkFwaURpZmYSHi5jdHJsLnYxLkdldE9wZW5BcGlEaWZmUmVxdWVzdBofLmN0cmwudjEuR2V0T3BlbkFwaURpZmZSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); /** * @generated from message ctrl.v1.GetOpenApiDiffRequest @@ -34,8 +31,7 @@ export type GetOpenApiDiffRequest = Message<"ctrl.v1.GetOpenApiDiffRequest"> & { * Describes the message ctrl.v1.GetOpenApiDiffRequest. * Use `create(GetOpenApiDiffRequestSchema)` to create a new message. */ -export const GetOpenApiDiffRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetOpenApiDiffRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 0); /** @@ -77,8 +73,7 @@ export type ChangelogEntry = Message<"ctrl.v1.ChangelogEntry"> & { * Describes the message ctrl.v1.ChangelogEntry. * Use `create(ChangelogEntrySchema)` to create a new message. */ -export const ChangelogEntrySchema: GenMessage = - /*@__PURE__*/ +export const ChangelogEntrySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 1); /** @@ -100,8 +95,7 @@ export type DiffSummary = Message<"ctrl.v1.DiffSummary"> & { * Describes the message ctrl.v1.DiffSummary. * Use `create(DiffSummarySchema)` to create a new message. */ -export const DiffSummarySchema: GenMessage = - /*@__PURE__*/ +export const DiffSummarySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 2); /** @@ -128,8 +122,7 @@ export type DiffDetails = Message<"ctrl.v1.DiffDetails"> & { * Describes the message ctrl.v1.DiffDetails. * Use `create(DiffDetailsSchema)` to create a new message. */ -export const DiffDetailsSchema: GenMessage = - /*@__PURE__*/ +export const DiffDetailsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 3); /** @@ -156,8 +149,7 @@ export type DiffCounts = Message<"ctrl.v1.DiffCounts"> & { * Describes the message ctrl.v1.DiffCounts. * Use `create(DiffCountsSchema)` to create a new message. */ -export const DiffCountsSchema: GenMessage = - /*@__PURE__*/ +export const DiffCountsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 4); /** @@ -184,8 +176,7 @@ export type GetOpenApiDiffResponse = Message<"ctrl.v1.GetOpenApiDiffResponse"> & * Describes the message ctrl.v1.GetOpenApiDiffResponse. * Use `create(GetOpenApiDiffResponseSchema)` to create a new message. */ -export const GetOpenApiDiffResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetOpenApiDiffResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 5); /** @@ -199,5 +190,7 @@ export const OpenApiService: GenService<{ methodKind: "unary"; input: typeof GetOpenApiDiffRequestSchema; output: typeof GetOpenApiDiffResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_openapi, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_openapi, 0); + diff --git a/internal/proto/generated/ctrl/v1/service_pb.ts b/internal/proto/generated/ctrl/v1/service_pb.ts index 299444f90a..210e79e6e7 100644 --- a/internal/proto/generated/ctrl/v1/service_pb.ts +++ b/internal/proto/generated/ctrl/v1/service_pb.ts @@ -2,30 +2,27 @@ // @generated from file ctrl/v1/service.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/service.proto. */ -export const file_ctrl_v1_service: GenFile = - /*@__PURE__*/ - fileDesc( - "ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", - ); +export const file_ctrl_v1_service: GenFile = /*@__PURE__*/ + fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); /** * @generated from message ctrl.v1.LivenessRequest */ -export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & {}; +export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & { +}; /** * Describes the message ctrl.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = - /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 0); /** @@ -52,8 +49,7 @@ export type LivenessResponse = Message<"ctrl.v1.LivenessResponse"> & { * Describes the message ctrl.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = - /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 1); /** @@ -67,5 +63,7 @@ export const CtrlService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_service, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_service, 0); + diff --git a/internal/proto/generated/krane/v1/deployment_pb.ts b/internal/proto/generated/krane/v1/deployment_pb.ts index 20dc39aea7..50b4790c9c 100644 --- a/internal/proto/generated/krane/v1/deployment_pb.ts +++ b/internal/proto/generated/krane/v1/deployment_pb.ts @@ -2,18 +2,15 @@ // @generated from file krane/v1/deployment.proto (package krane.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file krane/v1/deployment.proto. */ -export const file_krane_v1_deployment: GenFile = - /*@__PURE__*/ - fileDesc( - "ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGCh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y5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z", - ); +export const file_krane_v1_deployment: GenFile = /*@__PURE__*/ + fileDesc("ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USKgoGc3RhdHVzGAEgASgOMhoua3JhbmUudjEuRGVwbG95bWVudFN0YXR1cyJKChdVcGRhdGVEZXBsb3ltZW50UmVxdWVzdBIvCgpkZXBsb3ltZW50GAEgASgLMhsua3JhbmUudjEuRGVwbG95bWVudFJlcXVlc3QiKwoYVXBkYXRlRGVwbG95bWVudFJlc3BvbnNlEg8KB3BvZF9pZHMYASADKAkiQwoXRGVsZXRlRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkiGgoYRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlIkAKFEdldERlcGxveW1lbnRSZXF1ZXN0EhEKCW5hbWVzcGFjZRgBIAEoCRIVCg1kZXBsb3ltZW50X2lkGAIgASgJIj4KFUdldERlcGxveW1lbnRSZXNwb25zZRIlCglpbnN0YW5jZXMYAiADKAsyEi5rcmFuZS52MS5JbnN0YW5jZSJTCghJbnN0YW5jZRIKCgJpZBgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEioKBnN0YXR1cxgDIAEoDjIaLmtyYW5lLnYxLkRlcGxveW1lbnRTdGF0dXMqlgEKEERlcGxveW1lbnRTdGF0dXMSIQodREVQTE9ZTUVOVF9TVEFUVVNfVU5TUEVDSUZJRUQQABIdChlERVBMT1lNRU5UX1NUQVRVU19QRU5ESU5HEAESHQoZREVQTE9ZTUVOVF9TVEFUVVNfUlVOTklORxACEiEKHURFUExPWU1FTlRfU1RBVFVTX1RFUk1JTkFUSU5HEAMymwIKEURlcGxveW1lbnRTZXJ2aWNlElkKEENyZWF0ZURlcGxveW1lbnQSIS5rcmFuZS52MS5DcmVhdGVEZXBsb3ltZW50UmVxdWVzdBoiLmtyYW5lLnYxLkNyZWF0ZURlcGxveW1lbnRSZXNwb25zZRJQCg1HZXREZXBsb3ltZW50Eh4ua3JhbmUudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z"); /** * @generated from message krane.v1.DeploymentRequest @@ -54,8 +51,7 @@ export type DeploymentRequest = Message<"krane.v1.DeploymentRequest"> & { * Describes the message krane.v1.DeploymentRequest. * Use `create(DeploymentRequestSchema)` to create a new message. */ -export const DeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 0); /** @@ -72,8 +68,7 @@ export type CreateDeploymentRequest = Message<"krane.v1.CreateDeploymentRequest" * Describes the message krane.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 1); /** @@ -90,8 +85,7 @@ export type CreateDeploymentResponse = Message<"krane.v1.CreateDeploymentRespons * Describes the message krane.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 2); /** @@ -108,8 +102,7 @@ export type UpdateDeploymentRequest = Message<"krane.v1.UpdateDeploymentRequest" * Describes the message krane.v1.UpdateDeploymentRequest. * Use `create(UpdateDeploymentRequestSchema)` to create a new message. */ -export const UpdateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const UpdateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 3); /** @@ -126,8 +119,7 @@ export type UpdateDeploymentResponse = Message<"krane.v1.UpdateDeploymentRespons * Describes the message krane.v1.UpdateDeploymentResponse. * Use `create(UpdateDeploymentResponseSchema)` to create a new message. */ -export const UpdateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const UpdateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 4); /** @@ -149,21 +141,20 @@ export type DeleteDeploymentRequest = Message<"krane.v1.DeleteDeploymentRequest" * Describes the message krane.v1.DeleteDeploymentRequest. * Use `create(DeleteDeploymentRequestSchema)` to create a new message. */ -export const DeleteDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const DeleteDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 5); /** * @generated from message krane.v1.DeleteDeploymentResponse */ -export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & {}; +export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & { +}; /** * Describes the message krane.v1.DeleteDeploymentResponse. * Use `create(DeleteDeploymentResponseSchema)` to create a new message. */ -export const DeleteDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const DeleteDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 6); /** @@ -185,8 +176,7 @@ export type GetDeploymentRequest = Message<"krane.v1.GetDeploymentRequest"> & { * Describes the message krane.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 7); /** @@ -203,8 +193,7 @@ export type GetDeploymentResponse = Message<"krane.v1.GetDeploymentResponse"> & * Describes the message krane.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 8); /** @@ -231,8 +220,7 @@ export type Instance = Message<"krane.v1.Instance"> & { * Describes the message krane.v1.Instance. * Use `create(InstanceSchema)` to create a new message. */ -export const InstanceSchema: GenMessage = - /*@__PURE__*/ +export const InstanceSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 9); /** @@ -269,8 +257,7 @@ export enum DeploymentStatus { /** * Describes the enum krane.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = - /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_krane_v1_deployment, 0); /** @@ -286,7 +273,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }; + }, /** * GetDeployment * @@ -296,7 +283,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }; + }, /** * DeleteDeployment * @@ -306,5 +293,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof DeleteDeploymentRequestSchema; output: typeof DeleteDeploymentResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_krane_v1_deployment, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_krane_v1_deployment, 0); + diff --git a/internal/proto/generated/partition/v1/gateway_pb.ts b/internal/proto/generated/partition/v1/gateway_pb.ts index f617b79611..fb9a92c9ae 100644 --- a/internal/proto/generated/partition/v1/gateway_pb.ts +++ b/internal/proto/generated/partition/v1/gateway_pb.ts @@ -2,18 +2,15 @@ // @generated from file partition/v1/gateway.proto (package partition.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file partition/v1/gateway.proto. */ -export const file_partition_v1_gateway: GenFile = - /*@__PURE__*/ - fileDesc( - "ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw", - ); +export const file_partition_v1_gateway: GenFile = /*@__PURE__*/ + fileDesc("ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw"); /** * GatewayConfig contains all configuration needed for a hostname @@ -56,8 +53,7 @@ export type GatewayConfig = Message<"partition.v1.GatewayConfig"> & { * Describes the message partition.v1.GatewayConfig. * Use `create(GatewayConfigSchema)` to create a new message. */ -export const GatewayConfigSchema: GenMessage = - /*@__PURE__*/ +export const GatewayConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 0); /** @@ -79,8 +75,7 @@ export type Deployment = Message<"partition.v1.Deployment"> & { * Describes the message partition.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 1); /** @@ -102,8 +97,7 @@ export type Project = Message<"partition.v1.Project"> & { * Describes the message partition.v1.Project. * Use `create(ProjectSchema)` to create a new message. */ -export const ProjectSchema: GenMessage = - /*@__PURE__*/ +export const ProjectSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 2); /** @@ -120,7 +114,8 @@ export type VM = Message<"partition.v1.VM"> & { * Describes the message partition.v1.VM. * Use `create(VMSchema)` to create a new message. */ -export const VMSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 3); +export const VMSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_partition_v1_gateway, 3); /** * Authentication middleware configuration @@ -138,8 +133,7 @@ export type AuthConfig = Message<"partition.v1.AuthConfig"> & { * Describes the message partition.v1.AuthConfig. * Use `create(AuthConfigSchema)` to create a new message. */ -export const AuthConfigSchema: GenMessage = - /*@__PURE__*/ +export const AuthConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 4); /** @@ -160,6 +154,6 @@ export type ValidationConfig = Message<"partition.v1.ValidationConfig"> & { * Describes the message partition.v1.ValidationConfig. * Use `create(ValidationConfigSchema)` to create a new message. */ -export const ValidationConfigSchema: GenMessage = - /*@__PURE__*/ +export const ValidationConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 5); + diff --git a/internal/proto/generated/vault/v1/object_pb.ts b/internal/proto/generated/vault/v1/object_pb.ts index 05ad96ef8e..0aa3d990b7 100644 --- a/internal/proto/generated/vault/v1/object_pb.ts +++ b/internal/proto/generated/vault/v1/object_pb.ts @@ -2,18 +2,15 @@ // @generated from file vault/v1/object.proto (package vault.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/object.proto. */ -export const file_vault_v1_object: GenFile = - /*@__PURE__*/ - fileDesc( - "ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABCOFo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxYgZwcm90bzM", - ); +export const file_vault_v1_object: GenFile = /*@__PURE__*/ + fileDesc("ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABCOFo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxYgZwcm90bzM"); /** * @generated from message vault.v1.DataEncryptionKey @@ -41,8 +38,7 @@ export type DataEncryptionKey = Message<"vault.v1.DataEncryptionKey"> & { * Describes the message vault.v1.DataEncryptionKey. * Use `create(DataEncryptionKeySchema)` to create a new message. */ -export const DataEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const DataEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 0); /** @@ -73,8 +69,7 @@ export type EncryptedDataEncryptionKey = Message<"vault.v1.EncryptedDataEncrypti * Describes the message vault.v1.EncryptedDataEncryptionKey. * Use `create(EncryptedDataEncryptionKeySchema)` to create a new message. */ -export const EncryptedDataEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const EncryptedDataEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 1); /** @@ -103,8 +98,7 @@ export type KeyEncryptionKey = Message<"vault.v1.KeyEncryptionKey"> & { * Describes the message vault.v1.KeyEncryptionKey. * Use `create(KeyEncryptionKeySchema)` to create a new message. */ -export const KeyEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const KeyEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 2); /** @@ -148,8 +142,7 @@ export type Encrypted = Message<"vault.v1.Encrypted"> & { * Describes the message vault.v1.Encrypted. * Use `create(EncryptedSchema)` to create a new message. */ -export const EncryptedSchema: GenMessage = - /*@__PURE__*/ +export const EncryptedSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 3); /** @@ -165,4 +158,6 @@ export enum Algorithm { /** * Describes the enum vault.v1.Algorithm. */ -export const AlgorithmSchema: GenEnum = /*@__PURE__*/ enumDesc(file_vault_v1_object, 0); +export const AlgorithmSchema: GenEnum = /*@__PURE__*/ + enumDesc(file_vault_v1_object, 0); + diff --git a/internal/proto/generated/vault/v1/service_pb.ts b/internal/proto/generated/vault/v1/service_pb.ts index 78823d10ee..f9a8810dc6 100644 --- a/internal/proto/generated/vault/v1/service_pb.ts +++ b/internal/proto/generated/vault/v1/service_pb.ts @@ -2,30 +2,27 @@ // @generated from file vault/v1/service.proto (package vault.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/service.proto. */ -export const file_vault_v1_service: GenFile = - /*@__PURE__*/ - fileDesc( - "ChZ2YXVsdC92MS9zZXJ2aWNlLnByb3RvEgh2YXVsdC52MSIRCg9MaXZlbmVzc1JlcXVlc3QiIgoQTGl2ZW5lc3NSZXNwb25zZRIOCgZzdGF0dXMYASABKAkiLwoORW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIMCgRkYXRhGAIgASgJIjQKD0VuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIjMKEkVuY3J5cHRCdWxrUmVxdWVzdBIPCgdrZXlyaW5nGAEgASgJEgwKBGRhdGEYAiADKAkiQwoTRW5jcnlwdEJ1bGtSZXNwb25zZRIsCgllbmNyeXB0ZWQYASADKAsyGS52YXVsdC52MS5FbmNyeXB0UmVzcG9uc2UiNAoORGVjcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkiJAoPRGVjcnlwdFJlc3BvbnNlEhEKCXBsYWludGV4dBgBIAEoCSIjChBDcmVhdGVERUtSZXF1ZXN0Eg8KB2tleXJpbmcYASABKAkiIwoRQ3JlYXRlREVLUmVzcG9uc2USDgoGa2V5X2lkGAEgASgJIlYKEFJlRW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkSEwoGa2V5X2lkGAMgASgJSACIAQFCCQoHX2tleV9pZCI2ChFSZUVuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIhYKFFJlRW5jcnlwdERFS3NSZXF1ZXN0IhcKFVJlRW5jcnlwdERFS3NSZXNwb25zZTKJBAoMVmF1bHRTZXJ2aWNlEkMKCExpdmVuZXNzEhkudmF1bHQudjEuTGl2ZW5lc3NSZXF1ZXN0GhoudmF1bHQudjEuTGl2ZW5lc3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jcnlwdBIaLnZhdWx0LnYxLlJlRW5jcnlwdFJlcXVlc3QaGy52YXVsdC52MS5SZUVuY3J5cHRSZXNwb25zZSIAElIKDVJlRW5jcnlwdERFS3MSHi52YXVsdC52MS5SZUVuY3J5cHRERUtzUmVxdWVzdBofLnZhdWx0LnYxLlJlRW5jcnlwdERFS3NSZXNwb25zZSIAQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vdmF1bHQvdjE7dmF1bHR2MWIGcHJvdG8z"); /** * @generated from message vault.v1.LivenessRequest */ -export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & {}; +export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & { +}; /** * Describes the message vault.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = - /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 0); /** @@ -42,8 +39,7 @@ export type LivenessResponse = Message<"vault.v1.LivenessResponse"> & { * Describes the message vault.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = - /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 1); /** @@ -65,8 +61,7 @@ export type EncryptRequest = Message<"vault.v1.EncryptRequest"> & { * Describes the message vault.v1.EncryptRequest. * Use `create(EncryptRequestSchema)` to create a new message. */ -export const EncryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const EncryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 2); /** @@ -88,8 +83,7 @@ export type EncryptResponse = Message<"vault.v1.EncryptResponse"> & { * Describes the message vault.v1.EncryptResponse. * Use `create(EncryptResponseSchema)` to create a new message. */ -export const EncryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const EncryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 3); /** @@ -111,8 +105,7 @@ export type EncryptBulkRequest = Message<"vault.v1.EncryptBulkRequest"> & { * Describes the message vault.v1.EncryptBulkRequest. * Use `create(EncryptBulkRequestSchema)` to create a new message. */ -export const EncryptBulkRequestSchema: GenMessage = - /*@__PURE__*/ +export const EncryptBulkRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 4); /** @@ -129,8 +122,7 @@ export type EncryptBulkResponse = Message<"vault.v1.EncryptBulkResponse"> & { * Describes the message vault.v1.EncryptBulkResponse. * Use `create(EncryptBulkResponseSchema)` to create a new message. */ -export const EncryptBulkResponseSchema: GenMessage = - /*@__PURE__*/ +export const EncryptBulkResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 5); /** @@ -152,8 +144,7 @@ export type DecryptRequest = Message<"vault.v1.DecryptRequest"> & { * Describes the message vault.v1.DecryptRequest. * Use `create(DecryptRequestSchema)` to create a new message. */ -export const DecryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const DecryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 6); /** @@ -170,8 +161,7 @@ export type DecryptResponse = Message<"vault.v1.DecryptResponse"> & { * Describes the message vault.v1.DecryptResponse. * Use `create(DecryptResponseSchema)` to create a new message. */ -export const DecryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const DecryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 7); /** @@ -188,8 +178,7 @@ export type CreateDEKRequest = Message<"vault.v1.CreateDEKRequest"> & { * Describes the message vault.v1.CreateDEKRequest. * Use `create(CreateDEKRequestSchema)` to create a new message. */ -export const CreateDEKRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDEKRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 8); /** @@ -206,8 +195,7 @@ export type CreateDEKResponse = Message<"vault.v1.CreateDEKResponse"> & { * Describes the message vault.v1.CreateDEKResponse. * Use `create(CreateDEKResponseSchema)` to create a new message. */ -export const CreateDEKResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDEKResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 9); /** @@ -236,8 +224,7 @@ export type ReEncryptRequest = Message<"vault.v1.ReEncryptRequest"> & { * Describes the message vault.v1.ReEncryptRequest. * Use `create(ReEncryptRequestSchema)` to create a new message. */ -export const ReEncryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 10); /** @@ -259,34 +246,33 @@ export type ReEncryptResponse = Message<"vault.v1.ReEncryptResponse"> & { * Describes the message vault.v1.ReEncryptResponse. * Use `create(ReEncryptResponseSchema)` to create a new message. */ -export const ReEncryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 11); /** * @generated from message vault.v1.ReEncryptDEKsRequest */ -export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & {}; +export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & { +}; /** * Describes the message vault.v1.ReEncryptDEKsRequest. * Use `create(ReEncryptDEKsRequestSchema)` to create a new message. */ -export const ReEncryptDEKsRequestSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptDEKsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 12); /** * @generated from message vault.v1.ReEncryptDEKsResponse */ -export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & {}; +export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & { +}; /** * Describes the message vault.v1.ReEncryptDEKsResponse. * Use `create(ReEncryptDEKsResponseSchema)` to create a new message. */ -export const ReEncryptDEKsResponseSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptDEKsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 13); /** @@ -300,7 +286,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.CreateDEK */ @@ -308,7 +294,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof CreateDEKRequestSchema; output: typeof CreateDEKResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.Encrypt */ @@ -316,7 +302,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptRequestSchema; output: typeof EncryptResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.EncryptBulk */ @@ -324,7 +310,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptBulkRequestSchema; output: typeof EncryptBulkResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.Decrypt */ @@ -332,7 +318,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof DecryptRequestSchema; output: typeof DecryptResponseSchema; - }; + }, /** * ReEncrypt rec * @@ -342,7 +328,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptRequestSchema; output: typeof ReEncryptResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.ReEncryptDEKs */ @@ -350,5 +336,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptDEKsRequestSchema; output: typeof ReEncryptDEKsResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_vault_v1_service, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_vault_v1_service, 0); + From 944a84b18e0136101b2e7d150af08175455e64ca Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Thu, 2 Oct 2025 13:58:00 -0400 Subject: [PATCH 04/12] remove workspace id from the create deployment request --- .../services/deployment/create_deployment.go | 29 +++------ .../create_deployment_simple_test.go | 8 +-- go/cmd/deploy/config.go | 30 ++++----- go/cmd/deploy/control_plane.go | 24 +------- go/cmd/deploy/main.go | 24 ++------ go/gen/proto/ctrl/v1/deployment.pb.go | 61 ++++++++----------- go/proto/ctrl/v1/deployment.proto | 23 ++++--- .../proto/generated/ctrl/v1/deployment_pb.ts | 29 ++++----- 8 files changed, 77 insertions(+), 151 deletions(-) diff --git a/go/apps/ctrl/services/deployment/create_deployment.go b/go/apps/ctrl/services/deployment/create_deployment.go index a3f9590f49..49afaac12a 100644 --- a/go/apps/ctrl/services/deployment/create_deployment.go +++ b/go/apps/ctrl/services/deployment/create_deployment.go @@ -27,35 +27,20 @@ func (s *Service) CreateDeployment( ctx context.Context, req *connect.Request[ctrlv1.CreateDeploymentRequest], ) (*connect.Response[ctrlv1.CreateDeploymentResponse], error) { - // Validate workspace exists - _, err := db.Query.FindWorkspaceByID(ctx, s.db.RO(), req.Msg.GetWorkspaceId()) - if err != nil { - if db.IsNotFound(err) { - return nil, connect.NewError(connect.CodeNotFound, - fmt.Errorf("workspace not found: %s", req.Msg.GetWorkspaceId())) - } - return nil, connect.NewError(connect.CodeInternal, err) - } - - // Validate project exists and belongs to workspace + // Lookup project and infer workspace from it project, err := db.Query.FindProjectById(ctx, s.db.RO(), req.Msg.GetProjectId()) if err != nil { if db.IsNotFound(err) { - return nil, connect.NewError(connect.CodeNotFound, + return nil, connect.NewError(connect.CodeNotFound, fmt.Errorf("project not found: %s", req.Msg.GetProjectId())) } return nil, connect.NewError(connect.CodeInternal, err) } - // Verify project belongs to the specified workspace - if project.WorkspaceID != req.Msg.GetWorkspaceId() { - return nil, connect.NewError(connect.CodeInvalidArgument, - fmt.Errorf("project %s does not belong to workspace %s", - req.Msg.GetProjectId(), req.Msg.GetWorkspaceId())) - } + workspaceID := project.WorkspaceID env, err := db.Query.FindEnvironmentByProjectIdAndSlug(ctx, s.db.RO(), db.FindEnvironmentByProjectIdAndSlugParams{ - WorkspaceID: req.Msg.GetWorkspaceId(), + WorkspaceID: workspaceID, ProjectID: project.ID, Slug: req.Msg.GetEnvironmentSlug(), }) @@ -63,7 +48,7 @@ func (s *Service) CreateDeployment( if db.IsNotFound(err) { return nil, connect.NewError(connect.CodeNotFound, fmt.Errorf("environment '%s' not found in workspace '%s'", - req.Msg.GetEnvironmentSlug(), req.Msg.GetWorkspaceId())) + req.Msg.GetEnvironmentSlug(), workspaceID)) } return nil, connect.NewError(connect.CodeInternal, fmt.Errorf("failed to lookup environment: %w", err)) @@ -112,7 +97,7 @@ func (s *Service) CreateDeployment( // Insert deployment into database err = db.Query.InsertDeployment(ctx, s.db.RW(), db.InsertDeploymentParams{ ID: deploymentID, - WorkspaceID: req.Msg.GetWorkspaceId(), + WorkspaceID: workspaceID, ProjectID: req.Msg.GetProjectId(), EnvironmentID: env.ID, RuntimeConfig: json.RawMessage(`{ @@ -138,7 +123,7 @@ func (s *Service) CreateDeployment( s.logger.Info("starting deployment workflow for deployment", "deployment_id", deploymentID, - "workspace_id", req.Msg.GetWorkspaceId(), + "workspace_id", workspaceID, "project_id", req.Msg.GetProjectId(), "environment", env.ID, ) diff --git a/go/apps/ctrl/services/deployment/create_deployment_simple_test.go b/go/apps/ctrl/services/deployment/create_deployment_simple_test.go index 18b1cec9b4..9baee3a30c 100644 --- a/go/apps/ctrl/services/deployment/create_deployment_simple_test.go +++ b/go/apps/ctrl/services/deployment/create_deployment_simple_test.go @@ -98,7 +98,6 @@ func TestGitFieldValidation_NullHandling(t *testing.T) { // Test empty protobuf fields req := &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test", ProjectId: "proj_test", GitCommitMessage: "", GitCommitAuthorAvatarUrl: "", @@ -158,7 +157,6 @@ func TestCreateVersionTimestampValidation_InvalidSecondsFormat(t *testing.T) { // Create proto request directly with seconds timestamp (should be rejected) req := &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test123", ProjectId: "proj_test456", Branch: "main", SourceType: ctrlv1.SourceType_SOURCE_TYPE_GIT, @@ -177,7 +175,6 @@ func TestCreateVersionTimestampValidation_ValidMillisecondsFormat(t *testing.T) // Create proto request directly with milliseconds timestamp req := &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test123", ProjectId: "proj_test456", Branch: "main", SourceType: ctrlv1.SourceType_SOURCE_TYPE_GIT, @@ -275,7 +272,6 @@ func TestCreateVersionFieldMapping(t *testing.T) { { name: "all_git_fields_populated", request: &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test123", ProjectId: "proj_test456", Branch: "feature/test-branch", SourceType: ctrlv1.SourceType_SOURCE_TYPE_GIT, @@ -320,7 +316,6 @@ func TestCreateVersionFieldMapping(t *testing.T) { { name: "empty_git_fields", request: &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test123", ProjectId: "proj_test456", Branch: "main", SourceType: ctrlv1.SourceType_SOURCE_TYPE_GIT, @@ -365,7 +360,6 @@ func TestCreateVersionFieldMapping(t *testing.T) { { name: "mixed_populated_and_empty_fields", request: &ctrlv1.CreateDeploymentRequest{ - WorkspaceId: "ws_test123", ProjectId: "proj_test456", Branch: "hotfix/urgent-fix", SourceType: ctrlv1.SourceType_SOURCE_TYPE_GIT, @@ -417,7 +411,7 @@ func TestCreateVersionFieldMapping(t *testing.T) { // This tests the actual field wiring that happens in the service params := db.InsertDeploymentParams{ ID: "test_deployment_id", - WorkspaceID: tt.request.GetWorkspaceId(), + WorkspaceID: "ws_test123", // In production, this is inferred from ProjectID via DB lookup, just hardcoded for the test ProjectID: tt.request.GetProjectId(), EnvironmentID: "todo", // Git field mappings - this is what we're testing diff --git a/go/cmd/deploy/config.go b/go/cmd/deploy/config.go index e609bb5dcb..e3e7ea8278 100644 --- a/go/cmd/deploy/config.go +++ b/go/cmd/deploy/config.go @@ -9,19 +9,19 @@ import ( ) var ( - ErrProjectIDRequired = errors.New("project ID is required (use --project-id flag or edit unkey.json)") - ErrConfigPathResolve = errors.New("failed to resolve config path") - ErrConfigFileRead = errors.New("failed to read config file") - ErrConfigFileParse = errors.New("failed to parse config file") - ErrConfigFileWrite = errors.New("failed to write config file") - ErrConfigMarshal = errors.New("failed to marshal config") - ErrDirectoryCreate = errors.New("failed to create directory") + ErrProjectIDRequired = errors.New("project ID is required (use --project-id flag or edit unkey.json)") + ErrConfigPathResolve = errors.New("failed to resolve config path") + ErrConfigFileRead = errors.New("failed to read config file") + ErrConfigFileParse = errors.New("failed to parse config file") + ErrConfigFileWrite = errors.New("failed to write config file") + ErrConfigMarshal = errors.New("failed to marshal config") + ErrDirectoryCreate = errors.New("failed to create directory") ) type Config struct { - ApiID string `json:"api_id"` - ProjectID string `json:"project_id"` - Context string `json:"context"` + ApiID string `json:"api_id"` + ProjectID string `json:"project_id"` + Context string `json:"context"` } // loadConfig loads configuration from unkey.json in the specified directory. @@ -85,8 +85,8 @@ func createConfigWithValues(configDir, projectID, context string) error { } config := &Config{ - ProjectID: projectID, - Context: context, + ProjectID: projectID, + Context: context, } configPath := filepath.Join(configDir, "unkey.json") @@ -114,9 +114,9 @@ func writeConfig(configPath string, config *Config) error { // mergeWithFlags merges config values with command flags, with flags taking precedence func (c *Config) mergeWithFlags(projectID, apiID, context string) *Config { merged := &Config{ - ApiID: c.ApiID, - ProjectID: c.ProjectID, - Context: c.Context, + ApiID: c.ApiID, + ProjectID: c.ProjectID, + Context: c.Context, } // Flags override config values if projectID != "" { diff --git a/go/cmd/deploy/control_plane.go b/go/cmd/deploy/control_plane.go index 72a6e5631a..9f7cfb2de7 100644 --- a/go/cmd/deploy/control_plane.go +++ b/go/cmd/deploy/control_plane.go @@ -54,9 +54,8 @@ func (c *ControlPlaneClient) CreateDeployment(ctx context.Context, dockerImage s // Get git commit information commitInfo := git.GetInfo() createReq := connect.NewRequest(&ctrlv1.CreateDeploymentRequest{ - WorkspaceId: c.opts.WorkspaceID, ProjectId: c.opts.ProjectID, - ApiId: &c.opts.ApiID, + ApiId: &c.opts.ApiID, Branch: c.opts.Branch, SourceType: ctrlv1.SourceType_SOURCE_TYPE_CLI_UPLOAD, EnvironmentSlug: c.opts.Environment, @@ -108,27 +107,6 @@ func (c *ControlPlaneClient) GetDeployment(ctx context.Context, deploymentId str return getResp.Msg.GetDeployment(), nil } -// GetProject retrieve project information from the control plane. Needed to infer workspace id -func (c *ControlPlaneClient) GetProject(ctx context.Context, projectID string) (*ctrlv1.GetProjectResponse, error) { - req := connect.NewRequest(&ctrlv1.GetProjectRequest{ - ProjectId: projectID, - }) - - authHeader := c.opts.APIKey - if authHeader == "" { - authHeader = c.opts.AuthToken - } - - req.Header().Set("Authorization", "Bearer "+authHeader) - - resp, err := c.client.GetProject(ctx, req) - if err != nil { - return nil, fmt.Errorf("failed to get project: %w", err) - } - - return resp.Msg, nil -} - // PollDeploymentStatus polls for deployment changes and calls event handlers func (c *ControlPlaneClient) PollDeploymentStatus( ctx context.Context, diff --git a/go/cmd/deploy/main.go b/go/cmd/deploy/main.go index a963b3bb83..d0d27e34dc 100644 --- a/go/cmd/deploy/main.go +++ b/go/cmd/deploy/main.go @@ -21,8 +21,8 @@ const ( DefaultEnvironment = "preview" // Environment variables - EnvApiID = "UNKEY_API_ID" - EnvRegistry = "UNKEY_REGISTRY" + EnvApiID = "UNKEY_API_ID" + EnvRegistry = "UNKEY_REGISTRY" // URL prefixes HTTPSPrefix = "https://" @@ -80,9 +80,8 @@ var stepSequence = map[string]string{ // DeployOptions contains all configuration for deployment type DeployOptions struct { - WorkspaceID string ProjectID string - ApiID string + ApiID string Context string Branch string DockerImage string @@ -189,23 +188,8 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { return err // Clean error message already } - // Resolve workspace from project Id - tempOpts := DeployOptions{ - ProjectID: finalConfig.ProjectID, - ControlPlaneURL: cmd.String("control-plane-url"), - AuthToken: cmd.String("auth-token"), - APIKey: cmd.String("api-key"), - } - - controlPlane := NewControlPlaneClient(tempOpts) - project, err := controlPlane.GetProject(ctx, finalConfig.ProjectID) - if err != nil { - return fmt.Errorf("failed to resolve workspace from project 's%': %w", finalConfig.ProjectID, err) - } - opts := DeployOptions{ - WorkspaceID: project.GetWorkspaceId(), - ApiID: finalConfig.ApiID, + ApiID: finalConfig.ApiID, ProjectID: finalConfig.ProjectID, Context: finalConfig.Context, Branch: cmd.String("branch"), diff --git a/go/gen/proto/ctrl/v1/deployment.pb.go b/go/gen/proto/ctrl/v1/deployment.pb.go index 08f45fcb8e..f85f0c9477 100644 --- a/go/gen/proto/ctrl/v1/deployment.pb.go +++ b/go/gen/proto/ctrl/v1/deployment.pb.go @@ -134,23 +134,22 @@ func (SourceType) EnumDescriptor() ([]byte, []int) { } type CreateDeploymentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // Source information - EnvironmentSlug string `protobuf:"bytes,4,opt,name=environment_slug,json=environmentSlug,proto3" json:"environment_slug,omitempty"` - SourceType SourceType `protobuf:"varint,5,opt,name=source_type,json=sourceType,proto3,enum=ctrl.v1.SourceType" json:"source_type,omitempty"` - DockerImage string `protobuf:"bytes,6,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` + EnvironmentSlug string `protobuf:"bytes,3,opt,name=environment_slug,json=environmentSlug,proto3" json:"environment_slug,omitempty"` + SourceType SourceType `protobuf:"varint,4,opt,name=source_type,json=sourceType,proto3,enum=ctrl.v1.SourceType" json:"source_type,omitempty"` + DockerImage string `protobuf:"bytes,5,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` // Extended git information - GitCommitSha string `protobuf:"bytes,7,opt,name=git_commit_sha,json=gitCommitSha,proto3" json:"git_commit_sha,omitempty"` // For git sources - GitCommitMessage string `protobuf:"bytes,8,opt,name=git_commit_message,json=gitCommitMessage,proto3" json:"git_commit_message,omitempty"` + GitCommitSha string `protobuf:"bytes,6,opt,name=git_commit_sha,json=gitCommitSha,proto3" json:"git_commit_sha,omitempty"` // For git sources + GitCommitMessage string `protobuf:"bytes,7,opt,name=git_commit_message,json=gitCommitMessage,proto3" json:"git_commit_message,omitempty"` // TODO: Add GitHub API integration to lookup username/avatar from email - GitCommitAuthorHandle string `protobuf:"bytes,9,opt,name=git_commit_author_handle,json=gitCommitAuthorHandle,proto3" json:"git_commit_author_handle,omitempty"` - GitCommitAuthorAvatarUrl string `protobuf:"bytes,10,opt,name=git_commit_author_avatar_url,json=gitCommitAuthorAvatarUrl,proto3" json:"git_commit_author_avatar_url,omitempty"` - GitCommitTimestamp int64 `protobuf:"varint,11,opt,name=git_commit_timestamp,json=gitCommitTimestamp,proto3" json:"git_commit_timestamp,omitempty"` // Unix epoch milliseconds + GitCommitAuthorHandle string `protobuf:"bytes,8,opt,name=git_commit_author_handle,json=gitCommitAuthorHandle,proto3" json:"git_commit_author_handle,omitempty"` + GitCommitAuthorAvatarUrl string `protobuf:"bytes,9,opt,name=git_commit_author_avatar_url,json=gitCommitAuthorAvatarUrl,proto3" json:"git_commit_author_avatar_url,omitempty"` + GitCommitTimestamp int64 `protobuf:"varint,10,opt,name=git_commit_timestamp,json=gitCommitTimestamp,proto3" json:"git_commit_timestamp,omitempty"` // Unix epoch milliseconds // API ID for authentication - ApiId *string `protobuf:"bytes,12,opt,name=api_id,json=apiId,proto3,oneof" json:"api_id,omitempty"` + ApiId *string `protobuf:"bytes,11,opt,name=api_id,json=apiId,proto3,oneof" json:"api_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -185,13 +184,6 @@ func (*CreateDeploymentRequest) Descriptor() ([]byte, []int) { return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{0} } -func (x *CreateDeploymentRequest) GetWorkspaceId() string { - if x != nil { - return x.WorkspaceId - } - return "" -} - func (x *CreateDeploymentRequest) GetProjectId() string { if x != nil { return x.ProjectId @@ -1113,23 +1105,22 @@ var File_ctrl_v1_deployment_proto protoreflect.FileDescriptor const file_ctrl_v1_deployment_proto_rawDesc = "" + "\n" + - "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\x9d\x04\n" + - "\x17CreateDeploymentRequest\x12!\n" + - "\fworkspace_id\x18\x01 \x01(\tR\vworkspaceId\x12\x1d\n" + + "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\xfa\x03\n" + + "\x17CreateDeploymentRequest\x12\x1d\n" + "\n" + - "project_id\x18\x02 \x01(\tR\tprojectId\x12\x16\n" + - "\x06branch\x18\x03 \x01(\tR\x06branch\x12)\n" + - "\x10environment_slug\x18\x04 \x01(\tR\x0fenvironmentSlug\x124\n" + - "\vsource_type\x18\x05 \x01(\x0e2\x13.ctrl.v1.SourceTypeR\n" + + "project_id\x18\x01 \x01(\tR\tprojectId\x12\x16\n" + + "\x06branch\x18\x02 \x01(\tR\x06branch\x12)\n" + + "\x10environment_slug\x18\x03 \x01(\tR\x0fenvironmentSlug\x124\n" + + "\vsource_type\x18\x04 \x01(\x0e2\x13.ctrl.v1.SourceTypeR\n" + "sourceType\x12!\n" + - "\fdocker_image\x18\x06 \x01(\tR\vdockerImage\x12$\n" + - "\x0egit_commit_sha\x18\a \x01(\tR\fgitCommitSha\x12,\n" + - "\x12git_commit_message\x18\b \x01(\tR\x10gitCommitMessage\x127\n" + - "\x18git_commit_author_handle\x18\t \x01(\tR\x15gitCommitAuthorHandle\x12>\n" + - "\x1cgit_commit_author_avatar_url\x18\n" + - " \x01(\tR\x18gitCommitAuthorAvatarUrl\x120\n" + - "\x14git_commit_timestamp\x18\v \x01(\x03R\x12gitCommitTimestamp\x12\x1a\n" + - "\x06api_id\x18\f \x01(\tH\x00R\x05apiId\x88\x01\x01B\t\n" + + "\fdocker_image\x18\x05 \x01(\tR\vdockerImage\x12$\n" + + "\x0egit_commit_sha\x18\x06 \x01(\tR\fgitCommitSha\x12,\n" + + "\x12git_commit_message\x18\a \x01(\tR\x10gitCommitMessage\x127\n" + + "\x18git_commit_author_handle\x18\b \x01(\tR\x15gitCommitAuthorHandle\x12>\n" + + "\x1cgit_commit_author_avatar_url\x18\t \x01(\tR\x18gitCommitAuthorAvatarUrl\x120\n" + + "\x14git_commit_timestamp\x18\n" + + " \x01(\x03R\x12gitCommitTimestamp\x12\x1a\n" + + "\x06api_id\x18\v \x01(\tH\x00R\x05apiId\x88\x01\x01B\t\n" + "\a_api_id\"r\n" + "\x18CreateDeploymentResponse\x12#\n" + "\rdeployment_id\x18\x01 \x01(\tR\fdeploymentId\x121\n" + diff --git a/go/proto/ctrl/v1/deployment.proto b/go/proto/ctrl/v1/deployment.proto index 036bb507c7..cb49bcd00b 100644 --- a/go/proto/ctrl/v1/deployment.proto +++ b/go/proto/ctrl/v1/deployment.proto @@ -23,26 +23,25 @@ enum SourceType { } message CreateDeploymentRequest { - string workspace_id = 1; - string project_id = 2; - string branch = 3; + string project_id = 1; + string branch = 2; // Source information - string environment_slug = 4; + string environment_slug = 3; - SourceType source_type = 5; + SourceType source_type = 4; - string docker_image = 6; + string docker_image = 5; // Extended git information - string git_commit_sha = 7; // For git sources - string git_commit_message = 8; + string git_commit_sha = 6; // For git sources + string git_commit_message = 7; // TODO: Add GitHub API integration to lookup username/avatar from email - string git_commit_author_handle = 9; - string git_commit_author_avatar_url = 10; - int64 git_commit_timestamp = 11; // Unix epoch milliseconds + string git_commit_author_handle = 8; + string git_commit_author_avatar_url = 9; + int64 git_commit_timestamp = 10; // Unix epoch milliseconds // API ID for authentication - optional string api_id = 12; + optional string api_id = 11; } message CreateDeploymentResponse { diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 0a6af525b3..2b20ee1491 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -10,41 +10,36 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/deployment.proto. */ export const file_ctrl_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi5wIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhQKDHdvcmtzcGFjZV9pZBgBIAEoCRISCgpwcm9qZWN0X2lkGAIgASgJEg4KBmJyYW5jaBgDIAEoCRIYChBlbnZpcm9ubWVudF9zbHVnGAQgASgJEigKC3NvdXJjZV90eXBlGAUgASgOMhMuY3RybC52MS5Tb3VyY2VUeXBlEhQKDGRvY2tlcl9pbWFnZRgGIAEoCRIWCg5naXRfY29tbWl0X3NoYRgHIAEoCRIaChJnaXRfY29tbWl0X21lc3NhZ2UYCCABKAkSIAoYZ2l0X2NvbW1pdF9hdXRob3JfaGFuZGxlGAkgASgJEiQKHGdpdF9jb21taXRfYXV0aG9yX2F2YXRhcl91cmwYCiABKAkSHAoUZ2l0X2NvbW1pdF90aW1lc3RhbXAYCyABKAMSEwoGYXBpX2lkGAwgASgJSACIAQFCCQoHX2FwaV9pZCJcChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USFQoNZGVwbG95bWVudF9pZBgBIAEoCRIpCgZzdGF0dXMYAiABKA4yGS5jdHJsLnYxLkRlcGxveW1lbnRTdGF0dXMiLQoUR2V0RGVwbG95bWVudFJlcXVlc3QSFQoNZGVwbG95bWVudF9pZBgBIAEoCSJAChVHZXREZXBsb3ltZW50UmVzcG9uc2USJwoKZGVwbG95bWVudBgBIAEoCzITLmN0cmwudjEuRGVwbG95bWVudCKIBQoKRGVwbG95bWVudBIKCgJpZBgBIAEoCRIUCgx3b3Jrc3BhY2VfaWQYAiABKAkSEgoKcHJvamVjdF9pZBgDIAEoCRIWCg5lbnZpcm9ubWVudF9pZBgEIAEoCRIWCg5naXRfY29tbWl0X3NoYRgFIAEoCRISCgpnaXRfYnJhbmNoGAYgASgJEikKBnN0YXR1cx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WgoKU291cmNlVHlwZRIbChdTT1VSQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhMKD1NPVVJDRV9UWVBFX0dJVBABEhoKFlNPVVJDRV9UWVBFX0NMSV9VUExPQUQQAjKMAwoRRGVwbG95bWVudFNlcnZpY2USWQoQQ3JlYXRlRGVwbG95bWVudBIgLmN0cmwudjEuQ3JlYXRlRGVwbG95bWVudFJlcXVlc3QaIS5jdHJsLnYxLkNyZWF0ZURlcGxveW1lbnRSZXNwb25zZSIAElAKDUdldERlcGxveW1lbnQSHS5jdHJsLnYxLkdldERlcGxveW1lbnRSZXF1ZXN0Gh4uY3RybC52MS5HZXREZXBsb3ltZW50UmVzcG9uc2UiABJBCghSb2xsYmFjaxIYLmN0cmwudjEuUm9sbGJhY2tSZXF1ZXN0GhkuY3RybC52MS5Sb2xsYmFja1Jlc3BvbnNlIgASPgoHUHJvbW90ZRIXLmN0cmwudjEuUHJvbW90ZVJlcXVlc3QaGC5jdHJsLnYxLlByb21vdGVSZXNwb25zZSIAEkcKCkdldFByb2plY3QSGi5jdHJsLnYxLkdldFByb2plY3RSZXF1ZXN0GhsuY3RybC52MS5HZXRQcm9qZWN0UmVzcG9uc2UiAEI2WjRnaXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL2N0cmwvdjE7Y3RybHYxYgZwcm90bzM"); /** * @generated from message ctrl.v1.CreateDeploymentRequest */ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> & { /** - * @generated from field: string workspace_id = 1; - */ - workspaceId: string; - - /** - * @generated from field: string project_id = 2; + * @generated from field: string project_id = 1; */ projectId: string; /** - * @generated from field: string branch = 3; + * @generated from field: string branch = 2; */ branch: string; /** * Source information * - * @generated from field: string environment_slug = 4; + * @generated from field: string environment_slug = 3; */ environmentSlug: string; /** - * @generated from field: ctrl.v1.SourceType source_type = 5; + * @generated from field: ctrl.v1.SourceType source_type = 4; */ sourceType: SourceType; /** - * @generated from field: string docker_image = 6; + * @generated from field: string docker_image = 5; */ dockerImage: string; @@ -53,38 +48,38 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> * * For git sources * - * @generated from field: string git_commit_sha = 7; + * @generated from field: string git_commit_sha = 6; */ gitCommitSha: string; /** - * @generated from field: string git_commit_message = 8; + * @generated from field: string git_commit_message = 7; */ gitCommitMessage: string; /** * TODO: Add GitHub API integration to lookup username/avatar from email * - * @generated from field: string git_commit_author_handle = 9; + * @generated from field: string git_commit_author_handle = 8; */ gitCommitAuthorHandle: string; /** - * @generated from field: string git_commit_author_avatar_url = 10; + * @generated from field: string git_commit_author_avatar_url = 9; */ gitCommitAuthorAvatarUrl: string; /** * Unix epoch milliseconds * - * @generated from field: int64 git_commit_timestamp = 11; + * @generated from field: int64 git_commit_timestamp = 10; */ gitCommitTimestamp: bigint; /** * API ID for authentication * - * @generated from field: optional string api_id = 12; + * @generated from field: optional string api_id = 11; */ apiId?: string; }; From 3c5f03c33f033431a5c4eca5413aa8aaa0475575 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Thu, 2 Oct 2025 14:26:08 -0400 Subject: [PATCH 05/12] update init's json output --- go/cmd/deploy/init.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/go/cmd/deploy/init.go b/go/cmd/deploy/init.go index 0bc66a4cc3..aeac222eb4 100644 --- a/go/cmd/deploy/init.go +++ b/go/cmd/deploy/init.go @@ -40,12 +40,6 @@ func handleInit(cmd *cli.Command, ui *UI) error { // Interactive prompts for configuration fmt.Printf("Please provide the following configuration details:\n\n") - fmt.Printf("Workspace ID: ") - workspaceID := readLine() - if workspaceID == "" { - return fmt.Errorf("workspace ID is required") - } - fmt.Printf("Project ID: ") projectID := readLine() if projectID == "" { @@ -80,7 +74,7 @@ func printInitNextSteps() { fmt.Printf(" unkey deploy\n") fmt.Printf("\n") fmt.Printf("Or override specific values:\n") - fmt.Printf(" unkey deploy --workspace-id=ws_different\n") + fmt.Printf(" unkey deploy --project_id=proj_different\n") fmt.Printf(" unkey deploy --context=./other-app\n") } From 9d22ae3dbf678d6497fa6fc1e960fde696218c90 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Thu, 2 Oct 2025 16:10:27 -0400 Subject: [PATCH 06/12] remove GetProject references --- .../v1/ctrlv1connect/deployment.connect.go | 31 ---- go/gen/proto/ctrl/v1/deployment.pb.go | 149 ++---------------- go/proto/ctrl/v1/deployment.proto | 14 -- .../proto/generated/ctrl/v1/deployment_pb.ts | 61 +------ 4 files changed, 13 insertions(+), 242 deletions(-) diff --git a/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go b/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go index 66536ba7cc..718a4914cf 100644 --- a/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go +++ b/go/gen/proto/ctrl/v1/ctrlv1connect/deployment.connect.go @@ -45,9 +45,6 @@ const ( // DeploymentServicePromoteProcedure is the fully-qualified name of the DeploymentService's Promote // RPC. DeploymentServicePromoteProcedure = "/ctrl.v1.DeploymentService/Promote" - // DeploymentServiceGetProjectProcedure is the fully-qualified name of the DeploymentService's - // GetProject RPC. - DeploymentServiceGetProjectProcedure = "/ctrl.v1.DeploymentService/GetProject" ) // DeploymentServiceClient is a client for the ctrl.v1.DeploymentService service. @@ -60,8 +57,6 @@ type DeploymentServiceClient interface { Rollback(context.Context, *connect.Request[v1.RollbackRequest]) (*connect.Response[v1.RollbackResponse], error) // Promote the deployment to the live environment Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) - // Get project details by ID - GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) } // NewDeploymentServiceClient constructs a client for the ctrl.v1.DeploymentService service. By @@ -99,12 +94,6 @@ func NewDeploymentServiceClient(httpClient connect.HTTPClient, baseURL string, o connect.WithSchema(deploymentServiceMethods.ByName("Promote")), connect.WithClientOptions(opts...), ), - getProject: connect.NewClient[v1.GetProjectRequest, v1.GetProjectResponse]( - httpClient, - baseURL+DeploymentServiceGetProjectProcedure, - connect.WithSchema(deploymentServiceMethods.ByName("GetProject")), - connect.WithClientOptions(opts...), - ), } } @@ -114,7 +103,6 @@ type deploymentServiceClient struct { getDeployment *connect.Client[v1.GetDeploymentRequest, v1.GetDeploymentResponse] rollback *connect.Client[v1.RollbackRequest, v1.RollbackResponse] promote *connect.Client[v1.PromoteRequest, v1.PromoteResponse] - getProject *connect.Client[v1.GetProjectRequest, v1.GetProjectResponse] } // CreateDeployment calls ctrl.v1.DeploymentService.CreateDeployment. @@ -137,11 +125,6 @@ func (c *deploymentServiceClient) Promote(ctx context.Context, req *connect.Requ return c.promote.CallUnary(ctx, req) } -// GetProject calls ctrl.v1.DeploymentService.GetProject. -func (c *deploymentServiceClient) GetProject(ctx context.Context, req *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) { - return c.getProject.CallUnary(ctx, req) -} - // DeploymentServiceHandler is an implementation of the ctrl.v1.DeploymentService service. type DeploymentServiceHandler interface { // Create a new deployment @@ -152,8 +135,6 @@ type DeploymentServiceHandler interface { Rollback(context.Context, *connect.Request[v1.RollbackRequest]) (*connect.Response[v1.RollbackResponse], error) // Promote the deployment to the live environment Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) - // Get project details by ID - GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) } // NewDeploymentServiceHandler builds an HTTP handler from the service implementation. It returns @@ -187,12 +168,6 @@ func NewDeploymentServiceHandler(svc DeploymentServiceHandler, opts ...connect.H connect.WithSchema(deploymentServiceMethods.ByName("Promote")), connect.WithHandlerOptions(opts...), ) - deploymentServiceGetProjectHandler := connect.NewUnaryHandler( - DeploymentServiceGetProjectProcedure, - svc.GetProject, - connect.WithSchema(deploymentServiceMethods.ByName("GetProject")), - connect.WithHandlerOptions(opts...), - ) return "/ctrl.v1.DeploymentService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case DeploymentServiceCreateDeploymentProcedure: @@ -203,8 +178,6 @@ func NewDeploymentServiceHandler(svc DeploymentServiceHandler, opts ...connect.H deploymentServiceRollbackHandler.ServeHTTP(w, r) case DeploymentServicePromoteProcedure: deploymentServicePromoteHandler.ServeHTTP(w, r) - case DeploymentServiceGetProjectProcedure: - deploymentServiceGetProjectHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -229,7 +202,3 @@ func (UnimplementedDeploymentServiceHandler) Rollback(context.Context, *connect. func (UnimplementedDeploymentServiceHandler) Promote(context.Context, *connect.Request[v1.PromoteRequest]) (*connect.Response[v1.PromoteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("ctrl.v1.DeploymentService.Promote is not implemented")) } - -func (UnimplementedDeploymentServiceHandler) GetProject(context.Context, *connect.Request[v1.GetProjectRequest]) (*connect.Response[v1.GetProjectResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("ctrl.v1.DeploymentService.GetProject is not implemented")) -} diff --git a/go/gen/proto/ctrl/v1/deployment.pb.go b/go/gen/proto/ctrl/v1/deployment.pb.go index f85f0c9477..45ee754d69 100644 --- a/go/gen/proto/ctrl/v1/deployment.pb.go +++ b/go/gen/proto/ctrl/v1/deployment.pb.go @@ -989,118 +989,6 @@ func (*PromoteResponse) Descriptor() ([]byte, []int) { return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{11} } -type GetProjectRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetProjectRequest) Reset() { - *x = GetProjectRequest{} - mi := &file_ctrl_v1_deployment_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetProjectRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProjectRequest) ProtoMessage() {} - -func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_ctrl_v1_deployment_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead. -func (*GetProjectRequest) Descriptor() ([]byte, []int) { - return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{12} -} - -func (x *GetProjectRequest) GetProjectId() string { - if x != nil { - return x.ProjectId - } - return "" -} - -type GetProjectResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetProjectResponse) Reset() { - *x = GetProjectResponse{} - mi := &file_ctrl_v1_deployment_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetProjectResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProjectResponse) ProtoMessage() {} - -func (x *GetProjectResponse) ProtoReflect() protoreflect.Message { - mi := &file_ctrl_v1_deployment_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead. -func (*GetProjectResponse) Descriptor() ([]byte, []int) { - return file_ctrl_v1_deployment_proto_rawDescGZIP(), []int{13} -} - -func (x *GetProjectResponse) GetProjectId() string { - if x != nil { - return x.ProjectId - } - return "" -} - -func (x *GetProjectResponse) GetWorkspaceId() string { - if x != nil { - return x.WorkspaceId - } - return "" -} - -func (x *GetProjectResponse) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *GetProjectResponse) GetSlug() string { - if x != nil { - return x.Slug - } - return "" -} - var File_ctrl_v1_deployment_proto protoreflect.FileDescriptor const file_ctrl_v1_deployment_proto_rawDesc = "" + @@ -1184,16 +1072,7 @@ const file_ctrl_v1_deployment_proto_rawDesc = "" + "\x10RollbackResponse\"B\n" + "\x0ePromoteRequest\x120\n" + "\x14target_deployment_id\x18\x01 \x01(\tR\x12targetDeploymentId\"\x11\n" + - "\x0fPromoteResponse\"2\n" + - "\x11GetProjectRequest\x12\x1d\n" + - "\n" + - "project_id\x18\x01 \x01(\tR\tprojectId\"~\n" + - "\x12GetProjectResponse\x12\x1d\n" + - "\n" + - "project_id\x18\x01 \x01(\tR\tprojectId\x12!\n" + - "\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x12\n" + - "\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" + - "\x04slug\x18\x04 \x01(\tR\x04slug*\xef\x01\n" + + "\x0fPromoteResponse*\xef\x01\n" + "\x10DeploymentStatus\x12!\n" + "\x1dDEPLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" + "\x19DEPLOYMENT_STATUS_PENDING\x10\x01\x12\x1e\n" + @@ -1206,7 +1085,7 @@ const file_ctrl_v1_deployment_proto_rawDesc = "" + "SourceType\x12\x1b\n" + "\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n" + "\x0fSOURCE_TYPE_GIT\x10\x01\x12\x1a\n" + - "\x16SOURCE_TYPE_CLI_UPLOAD\x10\x022\x8c\x03\n" + + "\x16SOURCE_TYPE_CLI_UPLOAD\x10\x022\xc3\x02\n" + "\x11DeploymentService\x12Y\n" + "\x10CreateDeployment\x12 .ctrl.v1.CreateDeploymentRequest\x1a!.ctrl.v1.CreateDeploymentResponse\"\x00\x12P\n" + "\rGetDeployment\x12\x1d.ctrl.v1.GetDeploymentRequest\x1a\x1e.ctrl.v1.GetDeploymentResponse\"\x00\x12A\n" + @@ -1227,7 +1106,7 @@ func file_ctrl_v1_deployment_proto_rawDescGZIP() []byte { } var file_ctrl_v1_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_ctrl_v1_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_ctrl_v1_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_ctrl_v1_deployment_proto_goTypes = []any{ (DeploymentStatus)(0), // 0: ctrl.v1.DeploymentStatus (SourceType)(0), // 1: ctrl.v1.SourceType @@ -1243,16 +1122,14 @@ var file_ctrl_v1_deployment_proto_goTypes = []any{ (*RollbackResponse)(nil), // 11: ctrl.v1.RollbackResponse (*PromoteRequest)(nil), // 12: ctrl.v1.PromoteRequest (*PromoteResponse)(nil), // 13: ctrl.v1.PromoteResponse - (*GetProjectRequest)(nil), // 14: ctrl.v1.GetProjectRequest - (*GetProjectResponse)(nil), // 15: ctrl.v1.GetProjectResponse - nil, // 16: ctrl.v1.Deployment.EnvironmentVariablesEntry + nil, // 14: ctrl.v1.Deployment.EnvironmentVariablesEntry } var file_ctrl_v1_deployment_proto_depIdxs = []int32{ 1, // 0: ctrl.v1.CreateDeploymentRequest.source_type:type_name -> ctrl.v1.SourceType 0, // 1: ctrl.v1.CreateDeploymentResponse.status:type_name -> ctrl.v1.DeploymentStatus 6, // 2: ctrl.v1.GetDeploymentResponse.deployment:type_name -> ctrl.v1.Deployment 0, // 3: ctrl.v1.Deployment.status:type_name -> ctrl.v1.DeploymentStatus - 16, // 4: ctrl.v1.Deployment.environment_variables:type_name -> ctrl.v1.Deployment.EnvironmentVariablesEntry + 14, // 4: ctrl.v1.Deployment.environment_variables:type_name -> ctrl.v1.Deployment.EnvironmentVariablesEntry 8, // 5: ctrl.v1.Deployment.topology:type_name -> ctrl.v1.Topology 7, // 6: ctrl.v1.Deployment.steps:type_name -> ctrl.v1.DeploymentStep 9, // 7: ctrl.v1.Topology.regions:type_name -> ctrl.v1.RegionalConfig @@ -1260,14 +1137,12 @@ var file_ctrl_v1_deployment_proto_depIdxs = []int32{ 4, // 9: ctrl.v1.DeploymentService.GetDeployment:input_type -> ctrl.v1.GetDeploymentRequest 10, // 10: ctrl.v1.DeploymentService.Rollback:input_type -> ctrl.v1.RollbackRequest 12, // 11: ctrl.v1.DeploymentService.Promote:input_type -> ctrl.v1.PromoteRequest - 14, // 12: ctrl.v1.DeploymentService.GetProject:input_type -> ctrl.v1.GetProjectRequest - 3, // 13: ctrl.v1.DeploymentService.CreateDeployment:output_type -> ctrl.v1.CreateDeploymentResponse - 5, // 14: ctrl.v1.DeploymentService.GetDeployment:output_type -> ctrl.v1.GetDeploymentResponse - 11, // 15: ctrl.v1.DeploymentService.Rollback:output_type -> ctrl.v1.RollbackResponse - 13, // 16: ctrl.v1.DeploymentService.Promote:output_type -> ctrl.v1.PromoteResponse - 15, // 17: ctrl.v1.DeploymentService.GetProject:output_type -> ctrl.v1.GetProjectResponse - 13, // [13:18] is the sub-list for method output_type - 8, // [8:13] is the sub-list for method input_type + 3, // 12: ctrl.v1.DeploymentService.CreateDeployment:output_type -> ctrl.v1.CreateDeploymentResponse + 5, // 13: ctrl.v1.DeploymentService.GetDeployment:output_type -> ctrl.v1.GetDeploymentResponse + 11, // 14: ctrl.v1.DeploymentService.Rollback:output_type -> ctrl.v1.RollbackResponse + 13, // 15: ctrl.v1.DeploymentService.Promote:output_type -> ctrl.v1.PromoteResponse + 12, // [12:16] is the sub-list for method output_type + 8, // [8:12] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name @@ -1285,7 +1160,7 @@ func file_ctrl_v1_deployment_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_ctrl_v1_deployment_proto_rawDesc), len(file_ctrl_v1_deployment_proto_rawDesc)), NumEnums: 2, - NumMessages: 15, + NumMessages: 13, NumExtensions: 0, NumServices: 1, }, diff --git a/go/proto/ctrl/v1/deployment.proto b/go/proto/ctrl/v1/deployment.proto index cb49bcd00b..623cd2f0d7 100644 --- a/go/proto/ctrl/v1/deployment.proto +++ b/go/proto/ctrl/v1/deployment.proto @@ -138,17 +138,6 @@ message PromoteRequest { message PromoteResponse {} -message GetProjectRequest { - string project_id = 1; -} - -message GetProjectResponse { - string project_id = 1; - string workspace_id = 2; - string name = 3; - string slug = 4; -} - service DeploymentService { // Create a new deployment rpc CreateDeployment(CreateDeploymentRequest) returns (CreateDeploymentResponse) {} @@ -161,7 +150,4 @@ service DeploymentService { // Promote the deployment to the live environment rpc Promote(PromoteRequest) returns (PromoteResponse) {} - - // Get project details by ID - rpc GetProject(GetProjectRequest) returns (GetProjectResponse) {} } diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 2b20ee1491..2412671076 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/deployment.proto. */ export const file_ctrl_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi0QIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhIKCnByb2plY3RfaWQYASABKAkSDgoGYnJhbmNoGAIgASgJEhgKEGVudmlyb25tZW50X3NsdWcYAyABKAkSKAoLc291cmNlX3R5cGUYBCABKA4yEy5jdHJsLnYxLlNvdXJjZVR5cGUSFAoM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LmN0cmwudjEuUHJvbW90ZVJlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z"); /** * @generated from message ctrl.v1.CreateDeploymentRequest @@ -457,55 +457,6 @@ export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & { export const PromoteResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 11); -/** - * @generated from message ctrl.v1.GetProjectRequest - */ -export type GetProjectRequest = Message<"ctrl.v1.GetProjectRequest"> & { - /** - * @generated from field: string project_id = 1; - */ - projectId: string; -}; - -/** - * Describes the message ctrl.v1.GetProjectRequest. - * Use `create(GetProjectRequestSchema)` to create a new message. - */ -export const GetProjectRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_ctrl_v1_deployment, 12); - -/** - * @generated from message ctrl.v1.GetProjectResponse - */ -export type GetProjectResponse = Message<"ctrl.v1.GetProjectResponse"> & { - /** - * @generated from field: string project_id = 1; - */ - projectId: string; - - /** - * @generated from field: string workspace_id = 2; - */ - workspaceId: string; - - /** - * @generated from field: string name = 3; - */ - name: string; - - /** - * @generated from field: string slug = 4; - */ - slug: string; -}; - -/** - * Describes the message ctrl.v1.GetProjectResponse. - * Use `create(GetProjectResponseSchema)` to create a new message. - */ -export const GetProjectResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_ctrl_v1_deployment, 13); - /** * Deployment status enum * @@ -626,16 +577,6 @@ export const DeploymentService: GenService<{ input: typeof PromoteRequestSchema; output: typeof PromoteResponseSchema; }, - /** - * Get project details by ID - * - * @generated from rpc ctrl.v1.DeploymentService.GetProject - */ - getProject: { - methodKind: "unary"; - input: typeof GetProjectRequestSchema; - output: typeof GetProjectResponseSchema; - }, }> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_deployment, 0); From ec36607bd17edaf8f0e66c3d44b56e17b5b5645d Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 2 Oct 2025 18:27:28 +0000 Subject: [PATCH 07/12] [autofix.ci] apply automated fixes --- internal/proto/generated/ctrl/v1/acme_pb.ts | 56 +++++++------ internal/proto/generated/ctrl/v1/build_pb.ts | 36 +++++---- .../proto/generated/ctrl/v1/openapi_pb.ts | 33 ++++---- .../proto/generated/ctrl/v1/service_pb.ts | 24 +++--- .../proto/generated/krane/v1/deployment_pb.ts | 55 +++++++------ .../generated/partition/v1/gateway_pb.ts | 28 ++++--- .../proto/generated/vault/v1/object_pb.ts | 25 +++--- .../proto/generated/vault/v1/service_pb.ts | 78 +++++++++++-------- 8 files changed, 195 insertions(+), 140 deletions(-) diff --git a/internal/proto/generated/ctrl/v1/acme_pb.ts b/internal/proto/generated/ctrl/v1/acme_pb.ts index efe6c0dd7d..be06b20ed0 100644 --- a/internal/proto/generated/ctrl/v1/acme_pb.ts +++ b/internal/proto/generated/ctrl/v1/acme_pb.ts @@ -2,54 +2,62 @@ // @generated from file ctrl/v1/acme.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/acme.proto. */ -export const file_ctrl_v1_acme: GenFile = /*@__PURE__*/ - fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", [file_google_protobuf_timestamp]); +export const file_ctrl_v1_acme: GenFile = + /*@__PURE__*/ + fileDesc( + "ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", + [file_google_protobuf_timestamp], + ); /** * @generated from message ctrl.v1.HandleCertificateVerificationRequest */ -export type HandleCertificateVerificationRequest = Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { - /** - * @generated from field: string domain = 1; - */ - domain: string; +export type HandleCertificateVerificationRequest = + Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { + /** + * @generated from field: string domain = 1; + */ + domain: string; - /** - * @generated from field: string token = 2; - */ - token: string; -}; + /** + * @generated from field: string token = 2; + */ + token: string; + }; /** * Describes the message ctrl.v1.HandleCertificateVerificationRequest. * Use `create(HandleCertificateVerificationRequestSchema)` to create a new message. */ -export const HandleCertificateVerificationRequestSchema: GenMessage = /*@__PURE__*/ +export const HandleCertificateVerificationRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 0); /** * @generated from message ctrl.v1.HandleCertificateVerificationResponse */ -export type HandleCertificateVerificationResponse = Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { - /** - * @generated from field: string token = 1; - */ - token: string; -}; +export type HandleCertificateVerificationResponse = + Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { + /** + * @generated from field: string token = 1; + */ + token: string; + }; /** * Describes the message ctrl.v1.HandleCertificateVerificationResponse. * Use `create(HandleCertificateVerificationResponseSchema)` to create a new message. */ -export const HandleCertificateVerificationResponseSchema: GenMessage = /*@__PURE__*/ +export const HandleCertificateVerificationResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 1); /** @@ -63,7 +71,5 @@ export const AcmeService: GenService<{ methodKind: "unary"; input: typeof HandleCertificateVerificationRequestSchema; output: typeof HandleCertificateVerificationResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_acme, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_acme, 0); diff --git a/internal/proto/generated/ctrl/v1/build_pb.ts b/internal/proto/generated/ctrl/v1/build_pb.ts index a1757d273b..54e8b407ac 100644 --- a/internal/proto/generated/ctrl/v1/build_pb.ts +++ b/internal/proto/generated/ctrl/v1/build_pb.ts @@ -2,17 +2,21 @@ // @generated from file ctrl/v1/build.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/build.proto. */ -export const file_ctrl_v1_build: GenFile = /*@__PURE__*/ - fileDesc("ChNjdHJsL3YxL2J1aWxkLnByb3RvEgdjdHJsLnYxImgKEkNyZWF0ZUJ1aWxkUmVxdWVzdBIUCgx3b3Jrc3BhY2VfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRISCgp2ZXJzaW9uX2lkGAMgASgJEhQKDGRvY2tlcl9pbWFnZRgEIAEoCSInChNDcmVhdGVCdWlsZFJlc3BvbnNlEhAKCGJ1aWxkX2lkGAEgASgJIiMKD0dldEJ1aWxkUmVxdWVzdBIQCghidWlsZF9pZBgBIAEoCSIxChBHZXRCdWlsZFJlc3BvbnNlEh0KBWJ1aWxkGAEgASgLMg4uY3RybC52MS5CdWlsZCLpAgoFQnVpbGQSCgoCaWQYASABKAkSFAoMd29ya3NwYWNlX2lkGAIgASgJEhIKCnByb2plY3RfaWQYAyABKAkSEgoKdmVyc2lvbl9pZBgEIAEoCRIkCgZzdGF0dXMYBSABKA4yFC5jdHJsLnYxLkJ1aWxkU3RhdHVzEhUKDWVycm9yX21lc3NhZ2UYBiABKAkSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKc3RhcnRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMAoMY29tcGxldGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIXCg9yb290ZnNfaW1hZ2VfaWQYCyABKAkqsAEKC0J1aWxkU3RhdHVzEhwKGEJVSUxEX1NUQVRVU19VTlNQRUNJRklFRBAAEhgKFEJVSUxEX1NUQVRVU19QRU5ESU5HEAESGAoUQlVJ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F9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKc3RhcnRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMAoMY29tcGxldGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIXCg9yb290ZnNfaW1hZ2VfaWQYCyABKAkqsAEKC0J1aWxkU3RhdHVzEhwKGEJVSUxEX1NUQVRVU19VTlNQRUNJRklFRBAAEhgKFEJVSUxEX1NUQVRVU19QRU5ESU5HEAESGAoUQlVJTERfU1RBVFVTX1JVTk5JTkcQAhIaChZCVUlMRF9TVEFUVVNfU1VDQ0VFREVEEAMSFwoTQlVJTERfU1RBVFVTX0ZBSUxFRBAEEhoKFkJVSUxEX1NUQVRVU19DQU5DRUxMRUQQBTKdAQoMQnVpbGRTZXJ2aWNlEkoKC0NyZWF0ZUJ1aWxkEhsuY3RybC52MS5DcmVhdGVCdWlsZFJlcXVlc3QaHC5jdHJsLnYxLkNyZWF0ZUJ1aWxkUmVzcG9uc2UiABJBCghHZXRCdWlsZBIYLmN0cmwudjEuR2V0QnVpbGRSZXF1ZXN0GhkuY3RybC52MS5HZXRCdWlsZFJlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z", + [file_google_protobuf_timestamp], + ); /** * @generated from message ctrl.v1.CreateBuildRequest @@ -43,7 +47,8 @@ export type CreateBuildRequest = Message<"ctrl.v1.CreateBuildRequest"> & { * Describes the message ctrl.v1.CreateBuildRequest. * Use `create(CreateBuildRequestSchema)` to create a new message. */ -export const CreateBuildRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateBuildRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 0); /** @@ -60,7 +65,8 @@ export type CreateBuildResponse = Message<"ctrl.v1.CreateBuildResponse"> & { * Describes the message ctrl.v1.CreateBuildResponse. * Use `create(CreateBuildResponseSchema)` to create a new message. */ -export const CreateBuildResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateBuildResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 1); /** @@ -77,7 +83,8 @@ export type GetBuildRequest = Message<"ctrl.v1.GetBuildRequest"> & { * Describes the message ctrl.v1.GetBuildRequest. * Use `create(GetBuildRequestSchema)` to create a new message. */ -export const GetBuildRequestSchema: GenMessage = /*@__PURE__*/ +export const GetBuildRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 2); /** @@ -94,7 +101,8 @@ export type GetBuildResponse = Message<"ctrl.v1.GetBuildResponse"> & { * Describes the message ctrl.v1.GetBuildResponse. * Use `create(GetBuildResponseSchema)` to create a new message. */ -export const GetBuildResponseSchema: GenMessage = /*@__PURE__*/ +export const GetBuildResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 3); /** @@ -171,8 +179,7 @@ export type Build = Message<"ctrl.v1.Build"> & { * Describes the message ctrl.v1.Build. * Use `create(BuildSchema)` to create a new message. */ -export const BuildSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_ctrl_v1_build, 4); +export const BuildSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 4); /** * Build status enum @@ -214,7 +221,8 @@ export enum BuildStatus { /** * Describes the enum ctrl.v1.BuildStatus. */ -export const BuildStatusSchema: GenEnum = /*@__PURE__*/ +export const BuildStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_build, 0); /** @@ -230,7 +238,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof CreateBuildRequestSchema; output: typeof CreateBuildResponseSchema; - }, + }; /** * Get build details * @@ -240,7 +248,5 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof GetBuildRequestSchema; output: typeof GetBuildResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_build, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_build, 0); diff --git a/internal/proto/generated/ctrl/v1/openapi_pb.ts b/internal/proto/generated/ctrl/v1/openapi_pb.ts index 91dacf09ac..bd94d2eab2 100644 --- a/internal/proto/generated/ctrl/v1/openapi_pb.ts +++ b/internal/proto/generated/ctrl/v1/openapi_pb.ts @@ -2,15 +2,18 @@ // @generated from file ctrl/v1/openapi.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/openapi.proto. */ -export const file_ctrl_v1_openapi: GenFile = /*@__PURE__*/ - fileDesc("ChVjdHJsL3YxL29wZW5hcGkucHJvdG8SB2N0cmwudjEiTQoVR2V0T3BlbkFwaURpZmZSZXF1ZXN0EhkKEW9sZF9kZXBsb3ltZW50X2lkGAEgASgJEhkKEW5ld19kZXBsb3ltZW50X2lkGAIgASgJIoYBCg5DaGFuZ2Vsb2dFbnRyeRIKCgJpZBgBIAEoCRIMCgR0ZXh0GAIgASgJEg0KBWxldmVsGAMgASgFEhEKCW9wZXJhdGlvbhgEIAEoCRIZCgxvcGVyYXRpb25faWQYBSABKAlIAIgBARIMCgRwYXRoGAYgASgJQg8KDV9vcGVyYXRpb25faWQiQgoLRGlmZlN1bW1hcnkSDAoEZGlmZhgBIAEoCBIlCgdkZXRhaWxzGAIgASgLMhQuY3RybC52MS5EaWZmRGV0YWlscyJ/CgtEaWZmRGV0YWlscxImCgllbmRwb2ludHMYASABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSIgoFcGF0aHMYAiABKAsyEy5jdHJsLnYxLkRpZ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xLkRpZmZDb3VudHMSIgoFcGF0aHMYAiABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSJAoHc2NoZW1hcxgDIAEoCzITLmN0cmwudjEuRGlmZkNvdW50cyI+CgpEaWZmQ291bnRzEg0KBWFkZGVkGAEgASgFEg8KB2RlbGV0ZWQYAiABKAUSEAoIbW9kaWZpZWQYAyABKAUihwEKFkdldE9wZW5BcGlEaWZmUmVzcG9uc2USJQoHc3VtbWFyeRgBIAEoCzIULmN0cmwudjEuRGlmZlN1bW1hcnkSHAoUaGFzX2JyZWFraW5nX2NoYW5nZXMYAiABKAgSKAoHY2hhbmdlcxgDIAMoCzIXLmN0cmwudjEuQ2hhbmdlbG9nRW50cnkyZQoOT3BlbkFwaVNlcnZpY2USUwoOR2V0T3BlbkFwaURpZmYSHi5jdHJsLnYxLkdldE9wZW5BcGlEaWZmUmVxdWVzdBofLmN0cmwudjEuR2V0T3BlbkFwaURpZmZSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", + ); /** * @generated from message ctrl.v1.GetOpenApiDiffRequest @@ -31,7 +34,8 @@ export type GetOpenApiDiffRequest = Message<"ctrl.v1.GetOpenApiDiffRequest"> & { * Describes the message ctrl.v1.GetOpenApiDiffRequest. * Use `create(GetOpenApiDiffRequestSchema)` to create a new message. */ -export const GetOpenApiDiffRequestSchema: GenMessage = /*@__PURE__*/ +export const GetOpenApiDiffRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 0); /** @@ -73,7 +77,8 @@ export type ChangelogEntry = Message<"ctrl.v1.ChangelogEntry"> & { * Describes the message ctrl.v1.ChangelogEntry. * Use `create(ChangelogEntrySchema)` to create a new message. */ -export const ChangelogEntrySchema: GenMessage = /*@__PURE__*/ +export const ChangelogEntrySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 1); /** @@ -95,7 +100,8 @@ export type DiffSummary = Message<"ctrl.v1.DiffSummary"> & { * Describes the message ctrl.v1.DiffSummary. * Use `create(DiffSummarySchema)` to create a new message. */ -export const DiffSummarySchema: GenMessage = /*@__PURE__*/ +export const DiffSummarySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 2); /** @@ -122,7 +128,8 @@ export type DiffDetails = Message<"ctrl.v1.DiffDetails"> & { * Describes the message ctrl.v1.DiffDetails. * Use `create(DiffDetailsSchema)` to create a new message. */ -export const DiffDetailsSchema: GenMessage = /*@__PURE__*/ +export const DiffDetailsSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 3); /** @@ -149,7 +156,8 @@ export type DiffCounts = Message<"ctrl.v1.DiffCounts"> & { * Describes the message ctrl.v1.DiffCounts. * Use `create(DiffCountsSchema)` to create a new message. */ -export const DiffCountsSchema: GenMessage = /*@__PURE__*/ +export const DiffCountsSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 4); /** @@ -176,7 +184,8 @@ export type GetOpenApiDiffResponse = Message<"ctrl.v1.GetOpenApiDiffResponse"> & * Describes the message ctrl.v1.GetOpenApiDiffResponse. * Use `create(GetOpenApiDiffResponseSchema)` to create a new message. */ -export const GetOpenApiDiffResponseSchema: GenMessage = /*@__PURE__*/ +export const GetOpenApiDiffResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 5); /** @@ -190,7 +199,5 @@ export const OpenApiService: GenService<{ methodKind: "unary"; input: typeof GetOpenApiDiffRequestSchema; output: typeof GetOpenApiDiffResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_openapi, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_openapi, 0); diff --git a/internal/proto/generated/ctrl/v1/service_pb.ts b/internal/proto/generated/ctrl/v1/service_pb.ts index 210e79e6e7..299444f90a 100644 --- a/internal/proto/generated/ctrl/v1/service_pb.ts +++ b/internal/proto/generated/ctrl/v1/service_pb.ts @@ -2,27 +2,30 @@ // @generated from file ctrl/v1/service.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/service.proto. */ -export const file_ctrl_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); +export const file_ctrl_v1_service: GenFile = + /*@__PURE__*/ + fileDesc( + "ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", + ); /** * @generated from message ctrl.v1.LivenessRequest */ -export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & { -}; +export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & {}; /** * Describes the message ctrl.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 0); /** @@ -49,7 +52,8 @@ export type LivenessResponse = Message<"ctrl.v1.LivenessResponse"> & { * Describes the message ctrl.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 1); /** @@ -63,7 +67,5 @@ export const CtrlService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_service, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_service, 0); diff --git a/internal/proto/generated/krane/v1/deployment_pb.ts b/internal/proto/generated/krane/v1/deployment_pb.ts index 50b4790c9c..20dc39aea7 100644 --- a/internal/proto/generated/krane/v1/deployment_pb.ts +++ b/internal/proto/generated/krane/v1/deployment_pb.ts @@ -2,15 +2,18 @@ // @generated from file krane/v1/deployment.proto (package krane.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file krane/v1/deployment.proto. */ -export const file_krane_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bW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VEFUVVNfUlVOTklORxACEiEKHURFUExPWU1FTlRfU1RBVFVTX1RFUk1JTkFUSU5HEAMymwIKEURlcGxveW1lbnRTZXJ2aWNlElkKEENyZWF0ZURlcGxveW1lbnQSIS5rcmFuZS52MS5DcmVhdGVEZXBsb3ltZW50UmVxdWVzdBoiLmtyYW5lLnYxLkNyZWF0ZURlcGxveW1lbnRSZXNwb25zZRJQCg1HZXREZXBsb3ltZW50Eh4ua3JhbmUudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z"); +export const file_krane_v1_deployment: GenFile = + /*@__PURE__*/ + fileDesc( + "ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USKgoGc3RhdHVzGAEgASgOMhoua3JhbmUudjEuRGVwbG95bWVudFN0YXR1cyJKChdVcGRhdGVEZXBsb3ltZW50UmVxdWVzdBIvCgpkZXBsb3ltZW50GAEgASgLMhsua3Jhb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NlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z", + ); /** * @generated from message krane.v1.DeploymentRequest @@ -51,7 +54,8 @@ export type DeploymentRequest = Message<"krane.v1.DeploymentRequest"> & { * Describes the message krane.v1.DeploymentRequest. * Use `create(DeploymentRequestSchema)` to create a new message. */ -export const DeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const DeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 0); /** @@ -68,7 +72,8 @@ export type CreateDeploymentRequest = Message<"krane.v1.CreateDeploymentRequest" * Describes the message krane.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 1); /** @@ -85,7 +90,8 @@ export type CreateDeploymentResponse = Message<"krane.v1.CreateDeploymentRespons * Describes the message krane.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 2); /** @@ -102,7 +108,8 @@ export type UpdateDeploymentRequest = Message<"krane.v1.UpdateDeploymentRequest" * Describes the message krane.v1.UpdateDeploymentRequest. * Use `create(UpdateDeploymentRequestSchema)` to create a new message. */ -export const UpdateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const UpdateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 3); /** @@ -119,7 +126,8 @@ export type UpdateDeploymentResponse = Message<"krane.v1.UpdateDeploymentRespons * Describes the message krane.v1.UpdateDeploymentResponse. * Use `create(UpdateDeploymentResponseSchema)` to create a new message. */ -export const UpdateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const UpdateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 4); /** @@ -141,20 +149,21 @@ export type DeleteDeploymentRequest = Message<"krane.v1.DeleteDeploymentRequest" * Describes the message krane.v1.DeleteDeploymentRequest. * Use `create(DeleteDeploymentRequestSchema)` to create a new message. */ -export const DeleteDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const DeleteDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 5); /** * @generated from message krane.v1.DeleteDeploymentResponse */ -export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & { -}; +export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & {}; /** * Describes the message krane.v1.DeleteDeploymentResponse. * Use `create(DeleteDeploymentResponseSchema)` to create a new message. */ -export const DeleteDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const DeleteDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 6); /** @@ -176,7 +185,8 @@ export type GetDeploymentRequest = Message<"krane.v1.GetDeploymentRequest"> & { * Describes the message krane.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 7); /** @@ -193,7 +203,8 @@ export type GetDeploymentResponse = Message<"krane.v1.GetDeploymentResponse"> & * Describes the message krane.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 8); /** @@ -220,7 +231,8 @@ export type Instance = Message<"krane.v1.Instance"> & { * Describes the message krane.v1.Instance. * Use `create(InstanceSchema)` to create a new message. */ -export const InstanceSchema: GenMessage = /*@__PURE__*/ +export const InstanceSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 9); /** @@ -257,7 +269,8 @@ export enum DeploymentStatus { /** * Describes the enum krane.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_krane_v1_deployment, 0); /** @@ -273,7 +286,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }, + }; /** * GetDeployment * @@ -283,7 +296,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }, + }; /** * DeleteDeployment * @@ -293,7 +306,5 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof DeleteDeploymentRequestSchema; output: typeof DeleteDeploymentResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_krane_v1_deployment, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_krane_v1_deployment, 0); diff --git a/internal/proto/generated/partition/v1/gateway_pb.ts b/internal/proto/generated/partition/v1/gateway_pb.ts index fb9a92c9ae..f617b79611 100644 --- a/internal/proto/generated/partition/v1/gateway_pb.ts +++ b/internal/proto/generated/partition/v1/gateway_pb.ts @@ -2,15 +2,18 @@ // @generated from file partition/v1/gateway.proto (package partition.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file partition/v1/gateway.proto. */ -export const file_partition_v1_gateway: GenFile = /*@__PURE__*/ - fileDesc("ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw"); +export const file_partition_v1_gateway: GenFile = + /*@__PURE__*/ + fileDesc( + "ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw", + ); /** * GatewayConfig contains all configuration needed for a hostname @@ -53,7 +56,8 @@ export type GatewayConfig = Message<"partition.v1.GatewayConfig"> & { * Describes the message partition.v1.GatewayConfig. * Use `create(GatewayConfigSchema)` to create a new message. */ -export const GatewayConfigSchema: GenMessage = /*@__PURE__*/ +export const GatewayConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 0); /** @@ -75,7 +79,8 @@ export type Deployment = Message<"partition.v1.Deployment"> & { * Describes the message partition.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = /*@__PURE__*/ +export const DeploymentSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 1); /** @@ -97,7 +102,8 @@ export type Project = Message<"partition.v1.Project"> & { * Describes the message partition.v1.Project. * Use `create(ProjectSchema)` to create a new message. */ -export const ProjectSchema: GenMessage = /*@__PURE__*/ +export const ProjectSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 2); /** @@ -114,8 +120,7 @@ export type VM = Message<"partition.v1.VM"> & { * Describes the message partition.v1.VM. * Use `create(VMSchema)` to create a new message. */ -export const VMSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_partition_v1_gateway, 3); +export const VMSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 3); /** * Authentication middleware configuration @@ -133,7 +138,8 @@ export type AuthConfig = Message<"partition.v1.AuthConfig"> & { * Describes the message partition.v1.AuthConfig. * Use `create(AuthConfigSchema)` to create a new message. */ -export const AuthConfigSchema: GenMessage = /*@__PURE__*/ +export const AuthConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 4); /** @@ -154,6 +160,6 @@ export type ValidationConfig = Message<"partition.v1.ValidationConfig"> & { * Describes the message partition.v1.ValidationConfig. * Use `create(ValidationConfigSchema)` to create a new message. */ -export const ValidationConfigSchema: GenMessage = /*@__PURE__*/ +export const ValidationConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 5); - diff --git a/internal/proto/generated/vault/v1/object_pb.ts b/internal/proto/generated/vault/v1/object_pb.ts index 0aa3d990b7..05ad96ef8e 100644 --- a/internal/proto/generated/vault/v1/object_pb.ts +++ b/internal/proto/generated/vault/v1/object_pb.ts @@ -2,15 +2,18 @@ // @generated from file vault/v1/object.proto (package vault.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/object.proto. */ -export const file_vault_v1_object: GenFile = /*@__PURE__*/ - fileDesc("ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQY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3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxYgZwcm90bzM", + ); /** * @generated from message vault.v1.DataEncryptionKey @@ -38,7 +41,8 @@ export type DataEncryptionKey = Message<"vault.v1.DataEncryptionKey"> & { * Describes the message vault.v1.DataEncryptionKey. * Use `create(DataEncryptionKeySchema)` to create a new message. */ -export const DataEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const DataEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 0); /** @@ -69,7 +73,8 @@ export type EncryptedDataEncryptionKey = Message<"vault.v1.EncryptedDataEncrypti * Describes the message vault.v1.EncryptedDataEncryptionKey. * Use `create(EncryptedDataEncryptionKeySchema)` to create a new message. */ -export const EncryptedDataEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const EncryptedDataEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 1); /** @@ -98,7 +103,8 @@ export type KeyEncryptionKey = Message<"vault.v1.KeyEncryptionKey"> & { * Describes the message vault.v1.KeyEncryptionKey. * Use `create(KeyEncryptionKeySchema)` to create a new message. */ -export const KeyEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const KeyEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 2); /** @@ -142,7 +148,8 @@ export type Encrypted = Message<"vault.v1.Encrypted"> & { * Describes the message vault.v1.Encrypted. * Use `create(EncryptedSchema)` to create a new message. */ -export const EncryptedSchema: GenMessage = /*@__PURE__*/ +export const EncryptedSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 3); /** @@ -158,6 +165,4 @@ export enum Algorithm { /** * Describes the enum vault.v1.Algorithm. */ -export const AlgorithmSchema: GenEnum = /*@__PURE__*/ - enumDesc(file_vault_v1_object, 0); - +export const AlgorithmSchema: GenEnum = /*@__PURE__*/ enumDesc(file_vault_v1_object, 0); diff --git a/internal/proto/generated/vault/v1/service_pb.ts b/internal/proto/generated/vault/v1/service_pb.ts index f9a8810dc6..78823d10ee 100644 --- a/internal/proto/generated/vault/v1/service_pb.ts +++ b/internal/proto/generated/vault/v1/service_pb.ts @@ -2,27 +2,30 @@ // @generated from file vault/v1/service.proto (package vault.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/service.proto. */ -export const file_vault_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChZ2YXVsdC92MS9zZXJ2aWNlLnByb3RvEgh2YXVsdC52MSIRCg9MaXZlbmVzc1JlcXVlc3QiIgoQTGl2ZW5lc3NSZXNwb25zZRIOCgZzdGF0dXMYASABKAkiLwoORW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIMCgRkYXRhGAIgASgJIjQKD0VuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIjMKEkVuY3J5cHRCdWxrUmVxdWVzdBIPCgdrZXlyaW5nGAEgASgJEgwKBGRhdGEYAiADKAkiQwoTRW5jcnlwdEJ1bGtSZXNwb25zZRIsCgllbmNyeXB0ZWQYASADKAsyGS52YXVsdC52MS5FbmNyeXB0UmVzcG9uc2UiNAoORGVjcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkiJAoPRGVjcnlwdFJlc3BvbnNlEhEKCXBsYWludGV4dBgBIAEoCSIjChBDcmVhdGVERUtSZXF1ZXN0Eg8KB2tleXJpbmcYASABKAkiIwoRQ3JlYXRlREVLUmVzcG9uc2USDgoGa2V5X2lkGAEgASgJIlYKEFJlRW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkSEwoGa2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C52YXVsdC52MS5FbmNyeXB0UmVxdWVzdBoZLnZhdWx0LnYxLkVuY3J5cHRSZXNwb25zZSIAEkwKC0VuY3J5cHRCdWxrEhwudmF1bHQudjEuRW5jcnlwdEJ1bGtSZXF1ZXN0Gh0udmF1bHQudjEuRW5jcnlwdEJ1bGtSZXNwb25zZSIAEkAKB0RlY3J5cHQSGC52YXVsdC52MS5EZWNyeXB0UmVxdWVzdBoZLnZhdWx0LnYxLkRlY3J5cHRSZXNwb25zZSIAEkYKCVJlRW5jcnlwdBIaLnZhdWx0LnYxLlJlRW5jcnlwdFJlcXVlc3QaGy52YXVsdC52MS5SZUVuY3J5cHRSZXNwb25zZSIAElIKDVJlRW5jcnlwdERFS3MSHi52YXVsdC52MS5SZUVuY3J5cHRERUtzUmVxdWVzdBofLnZhdWx0LnYxLlJlRW5jcnlwdERFS3NSZXNwb25zZSIAQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vdmF1bHQvdjE7dmF1bHR2MWIGcHJvdG8z", + ); /** * @generated from message vault.v1.LivenessRequest */ -export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & { -}; +export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & {}; /** * Describes the message vault.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 0); /** @@ -39,7 +42,8 @@ export type LivenessResponse = Message<"vault.v1.LivenessResponse"> & { * Describes the message vault.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 1); /** @@ -61,7 +65,8 @@ export type EncryptRequest = Message<"vault.v1.EncryptRequest"> & { * Describes the message vault.v1.EncryptRequest. * Use `create(EncryptRequestSchema)` to create a new message. */ -export const EncryptRequestSchema: GenMessage = /*@__PURE__*/ +export const EncryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 2); /** @@ -83,7 +88,8 @@ export type EncryptResponse = Message<"vault.v1.EncryptResponse"> & { * Describes the message vault.v1.EncryptResponse. * Use `create(EncryptResponseSchema)` to create a new message. */ -export const EncryptResponseSchema: GenMessage = /*@__PURE__*/ +export const EncryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 3); /** @@ -105,7 +111,8 @@ export type EncryptBulkRequest = Message<"vault.v1.EncryptBulkRequest"> & { * Describes the message vault.v1.EncryptBulkRequest. * Use `create(EncryptBulkRequestSchema)` to create a new message. */ -export const EncryptBulkRequestSchema: GenMessage = /*@__PURE__*/ +export const EncryptBulkRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 4); /** @@ -122,7 +129,8 @@ export type EncryptBulkResponse = Message<"vault.v1.EncryptBulkResponse"> & { * Describes the message vault.v1.EncryptBulkResponse. * Use `create(EncryptBulkResponseSchema)` to create a new message. */ -export const EncryptBulkResponseSchema: GenMessage = /*@__PURE__*/ +export const EncryptBulkResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 5); /** @@ -144,7 +152,8 @@ export type DecryptRequest = Message<"vault.v1.DecryptRequest"> & { * Describes the message vault.v1.DecryptRequest. * Use `create(DecryptRequestSchema)` to create a new message. */ -export const DecryptRequestSchema: GenMessage = /*@__PURE__*/ +export const DecryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 6); /** @@ -161,7 +170,8 @@ export type DecryptResponse = Message<"vault.v1.DecryptResponse"> & { * Describes the message vault.v1.DecryptResponse. * Use `create(DecryptResponseSchema)` to create a new message. */ -export const DecryptResponseSchema: GenMessage = /*@__PURE__*/ +export const DecryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 7); /** @@ -178,7 +188,8 @@ export type CreateDEKRequest = Message<"vault.v1.CreateDEKRequest"> & { * Describes the message vault.v1.CreateDEKRequest. * Use `create(CreateDEKRequestSchema)` to create a new message. */ -export const CreateDEKRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDEKRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 8); /** @@ -195,7 +206,8 @@ export type CreateDEKResponse = Message<"vault.v1.CreateDEKResponse"> & { * Describes the message vault.v1.CreateDEKResponse. * Use `create(CreateDEKResponseSchema)` to create a new message. */ -export const CreateDEKResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDEKResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 9); /** @@ -224,7 +236,8 @@ export type ReEncryptRequest = Message<"vault.v1.ReEncryptRequest"> & { * Describes the message vault.v1.ReEncryptRequest. * Use `create(ReEncryptRequestSchema)` to create a new message. */ -export const ReEncryptRequestSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 10); /** @@ -246,33 +259,34 @@ export type ReEncryptResponse = Message<"vault.v1.ReEncryptResponse"> & { * Describes the message vault.v1.ReEncryptResponse. * Use `create(ReEncryptResponseSchema)` to create a new message. */ -export const ReEncryptResponseSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 11); /** * @generated from message vault.v1.ReEncryptDEKsRequest */ -export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & { -}; +export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & {}; /** * Describes the message vault.v1.ReEncryptDEKsRequest. * Use `create(ReEncryptDEKsRequestSchema)` to create a new message. */ -export const ReEncryptDEKsRequestSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptDEKsRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 12); /** * @generated from message vault.v1.ReEncryptDEKsResponse */ -export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & { -}; +export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & {}; /** * Describes the message vault.v1.ReEncryptDEKsResponse. * Use `create(ReEncryptDEKsResponseSchema)` to create a new message. */ -export const ReEncryptDEKsResponseSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptDEKsResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 13); /** @@ -286,7 +300,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.CreateDEK */ @@ -294,7 +308,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof CreateDEKRequestSchema; output: typeof CreateDEKResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.Encrypt */ @@ -302,7 +316,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptRequestSchema; output: typeof EncryptResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.EncryptBulk */ @@ -310,7 +324,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptBulkRequestSchema; output: typeof EncryptBulkResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.Decrypt */ @@ -318,7 +332,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof DecryptRequestSchema; output: typeof DecryptResponseSchema; - }, + }; /** * ReEncrypt rec * @@ -328,7 +342,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptRequestSchema; output: typeof ReEncryptResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.ReEncryptDEKs */ @@ -336,7 +350,5 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptDEKsRequestSchema; output: typeof ReEncryptDEKsResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_vault_v1_service, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_vault_v1_service, 0); From 7a936b4da87ac11293bbee041f7e7859f11a057d Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 2 Oct 2025 20:20:22 +0000 Subject: [PATCH 08/12] [autofix.ci] apply automated fixes --- .../proto/generated/ctrl/v1/deployment_pb.ts | 69 +++++++++++-------- 1 file changed, 41 insertions(+), 28 deletions(-) diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 2412671076..9128fb6157 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -2,15 +2,18 @@ // @generated from file ctrl/v1/deployment.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/deployment.proto. */ -export const file_ctrl_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi0QIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhIKCnByb2plY3RfaWQYASABKAkSDgoGYnJhbmNoGAIgASgJEhgKEGVudmlyb25tZW50X3NsdWcYAyABKAkSKAoLc291cmNlX3R5cGUYBCABKA4yEy5jdHJsLnYxLlNvdXJjZVR5cGUSFAoMZG9ja2VyX2ltYWdlGAUgASgJEhYKDmdpdF9jb21taXRfc2hhGAYgASgJEhoKEmdpdF9jb21taXRfbWVzc2FnZRgHIAEoCRIgChhnaXRfY29tbWl0X2F1dGhvcl9oYW5kbGUYCCABKAkSJAocZ2l0X2NvbW1pdF9hd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MT1lNRU5UX1NUQVRVU19ERVBMT1lJTkcQAxIdChlERVBMT1lNRU5UX1NUQVRVU19ORVRXT1JLEAQSGwoXREVQTE9ZTUVOVF9TVEFUVVNfUkVBRFkQBRIcChhERVBMT1lNRU5UX1NUQVRVU19GQUlMRUQQBipaCgpTb3VyY2VUeXBlEhsKF1NPVVJDRV9UWVBFX1VOU1BFQ0lGSUVEEAASEwoPU09VUkNFX1RZUEVfR0lUEAESGgoWU09VUkNFX1RZUEVfQ0xJX1VQTE9BRBACMsMCChFEZXBsb3ltZW50U2VydmljZRJZChBDcmVhdGVEZXBsb3ltZW50EiAuY3RybC52MS5DcmVhdGVEZXBsb3ltZW50UmVxdWVzdBohLmN0cmwudjEuQ3JlYXRlRGVwbG95bWVudFJlc3BvbnNlIgASUAoNR2V0RGVwbG95bWVudBIdLmN0cmwudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHi5jdHJsLnYxLkdldERlcGxveW1lbnRSZXNwb25zZSIAEkEKCFJvbGxiYWNrEhguY3RybC52MS5Sb2xsYmFja1JlcXVlc3QaGS5jdHJsLnYxLlJvbGxiYWNrUmVzcG9uc2UiABI+CgdQcm9tb3RlEhcuY3RybC52MS5Qcm9tb3RlUmVxdWVzdBoYLmN0cmwudjEuUHJvbW90ZVJlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z", + ); /** * @generated from message ctrl.v1.CreateDeploymentRequest @@ -88,7 +91,8 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> * Describes the message ctrl.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 0); /** @@ -112,7 +116,8 @@ export type CreateDeploymentResponse = Message<"ctrl.v1.CreateDeploymentResponse * Describes the message ctrl.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 1); /** @@ -129,7 +134,8 @@ export type GetDeploymentRequest = Message<"ctrl.v1.GetDeploymentRequest"> & { * Describes the message ctrl.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 2); /** @@ -146,7 +152,8 @@ export type GetDeploymentResponse = Message<"ctrl.v1.GetDeploymentResponse"> & { * Describes the message ctrl.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 3); /** @@ -282,7 +289,8 @@ export type Deployment = Message<"ctrl.v1.Deployment"> & { * Describes the message ctrl.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = /*@__PURE__*/ +export const DeploymentSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 4); /** @@ -314,7 +322,8 @@ export type DeploymentStep = Message<"ctrl.v1.DeploymentStep"> & { * Describes the message ctrl.v1.DeploymentStep. * Use `create(DeploymentStepSchema)` to create a new message. */ -export const DeploymentStepSchema: GenMessage = /*@__PURE__*/ +export const DeploymentStepSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 5); /** @@ -362,7 +371,8 @@ export type Topology = Message<"ctrl.v1.Topology"> & { * Describes the message ctrl.v1.Topology. * Use `create(TopologySchema)` to create a new message. */ -export const TopologySchema: GenMessage = /*@__PURE__*/ +export const TopologySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 6); /** @@ -389,7 +399,8 @@ export type RegionalConfig = Message<"ctrl.v1.RegionalConfig"> & { * Describes the message ctrl.v1.RegionalConfig. * Use `create(RegionalConfigSchema)` to create a new message. */ -export const RegionalConfigSchema: GenMessage = /*@__PURE__*/ +export const RegionalConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 7); /** @@ -411,20 +422,21 @@ export type RollbackRequest = Message<"ctrl.v1.RollbackRequest"> & { * Describes the message ctrl.v1.RollbackRequest. * Use `create(RollbackRequestSchema)` to create a new message. */ -export const RollbackRequestSchema: GenMessage = /*@__PURE__*/ +export const RollbackRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 8); /** * @generated from message ctrl.v1.RollbackResponse */ -export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & { -}; +export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & {}; /** * Describes the message ctrl.v1.RollbackResponse. * Use `create(RollbackResponseSchema)` to create a new message. */ -export const RollbackResponseSchema: GenMessage = /*@__PURE__*/ +export const RollbackResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 9); /** @@ -441,20 +453,21 @@ export type PromoteRequest = Message<"ctrl.v1.PromoteRequest"> & { * Describes the message ctrl.v1.PromoteRequest. * Use `create(PromoteRequestSchema)` to create a new message. */ -export const PromoteRequestSchema: GenMessage = /*@__PURE__*/ +export const PromoteRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 10); /** * @generated from message ctrl.v1.PromoteResponse */ -export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & { -}; +export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & {}; /** * Describes the message ctrl.v1.PromoteResponse. * Use `create(PromoteResponseSchema)` to create a new message. */ -export const PromoteResponseSchema: GenMessage = /*@__PURE__*/ +export const PromoteResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 11); /** @@ -502,7 +515,8 @@ export enum DeploymentStatus { /** * Describes the enum ctrl.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 0); /** @@ -530,7 +544,8 @@ export enum SourceType { /** * Describes the enum ctrl.v1.SourceType. */ -export const SourceTypeSchema: GenEnum = /*@__PURE__*/ +export const SourceTypeSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 1); /** @@ -546,7 +561,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }, + }; /** * Get deployment details * @@ -556,7 +571,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }, + }; /** * Reassign the sticky domains of the projects live deployment to the target deployment * @@ -566,7 +581,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof RollbackRequestSchema; output: typeof RollbackResponseSchema; - }, + }; /** * Promote the deployment to the live environment * @@ -576,7 +591,5 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof PromoteRequestSchema; output: typeof PromoteResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_deployment, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_deployment, 0); From e73ac1ff4a59337fd83fe5499a5901631e1b2566 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Mon, 6 Oct 2025 10:49:12 -0400 Subject: [PATCH 09/12] feat: clean up cli --- .../services/deployment/create_deployment.go | 2 +- .../create_deployment_simple_test.go | 2 +- go/pkg/codes/constants_gen.go | 75 +++++++++--------- ...ulk_acme_challenge_insert.sql_generated.go | 4 +- .../db/bulk_acme_user_insert.sql_generated.go | 4 +- go/pkg/db/bulk_api_insert.sql_generated.go | 4 +- .../db/bulk_audit_log_insert.sql_generated.go | 4 +- ...k_audit_log_target_insert.sql_generated.go | 4 +- .../bulk_deployment_insert.sql_generated.go | 4 +- ...lk_deployment_step_insert.sql_generated.go | 4 +- go/pkg/db/bulk_domain_insert.sql_generated.go | 4 +- .../db/bulk_identity_insert.sql_generated.go | 4 +- ...identity_insert_ratelimit.sql_generated.go | 4 +- ...ulk_key_encryption_insert.sql_generated.go | 4 +- go/pkg/db/bulk_key_insert.sql_generated.go | 4 +- ...bulk_key_insert_ratelimit.sql_generated.go | 4 +- ...ulk_key_permission_insert.sql_generated.go | 4 +- .../db/bulk_key_role_insert.sql_generated.go | 4 +- .../db/bulk_keyring_insert.sql_generated.go | 4 +- .../bulk_permission_insert.sql_generated.go | 4 +- .../db/bulk_project_insert.sql_generated.go | 4 +- ...atelimit_namespace_insert.sql_generated.go | 4 +- ...ratelimit_override_insert.sql_generated.go | 4 +- go/pkg/db/bulk_role_insert.sql_generated.go | 4 +- ...lk_role_permission_insert.sql_generated.go | 4 +- .../db/bulk_workspace_insert.sql_generated.go | 4 +- .../bulk_certificate_insert.sql_generated.go | 4 +- .../db/bulk_gateway_upsert.sql_generated.go | 4 +- .../db/bulk_vm_upsert.sql_generated.go | 4 +- internal/proto/generated/ctrl/v1/acme_pb.ts | 56 ++++++------- internal/proto/generated/ctrl/v1/build_pb.ts | 36 ++++----- .../proto/generated/ctrl/v1/deployment_pb.ts | 62 +++++++-------- .../proto/generated/ctrl/v1/openapi_pb.ts | 33 ++++---- .../proto/generated/ctrl/v1/service_pb.ts | 24 +++--- .../proto/generated/krane/v1/deployment_pb.ts | 55 ++++++------- .../generated/partition/v1/gateway_pb.ts | 28 +++---- .../proto/generated/vault/v1/object_pb.ts | 25 +++--- .../proto/generated/vault/v1/service_pb.ts | 78 ++++++++----------- 38 files changed, 257 insertions(+), 323 deletions(-) diff --git a/go/apps/ctrl/services/deployment/create_deployment.go b/go/apps/ctrl/services/deployment/create_deployment.go index 49afaac12a..3be5eb86fb 100644 --- a/go/apps/ctrl/services/deployment/create_deployment.go +++ b/go/apps/ctrl/services/deployment/create_deployment.go @@ -31,7 +31,7 @@ func (s *Service) CreateDeployment( project, err := db.Query.FindProjectById(ctx, s.db.RO(), req.Msg.GetProjectId()) if err != nil { if db.IsNotFound(err) { - return nil, connect.NewError(connect.CodeNotFound, + return nil, connect.NewError(connect.CodeNotFound, fmt.Errorf("project not found: %s", req.Msg.GetProjectId())) } return nil, connect.NewError(connect.CodeInternal, err) diff --git a/go/apps/ctrl/services/deployment/create_deployment_simple_test.go b/go/apps/ctrl/services/deployment/create_deployment_simple_test.go index 9baee3a30c..ce38c61928 100644 --- a/go/apps/ctrl/services/deployment/create_deployment_simple_test.go +++ b/go/apps/ctrl/services/deployment/create_deployment_simple_test.go @@ -411,7 +411,7 @@ func TestCreateVersionFieldMapping(t *testing.T) { // This tests the actual field wiring that happens in the service params := db.InsertDeploymentParams{ ID: "test_deployment_id", - WorkspaceID: "ws_test123", // In production, this is inferred from ProjectID via DB lookup, just hardcoded for the test + WorkspaceID: "ws_test123", // In production, this is inferred from ProjectID via DB lookup, just hardcoded for the test ProjectID: tt.request.GetProjectId(), EnvironmentID: "todo", // Git field mappings - this is what we're testing diff --git a/go/pkg/codes/constants_gen.go b/go/pkg/codes/constants_gen.go index 752bfcc4f4..204cbbd4ad 100644 --- a/go/pkg/codes/constants_gen.go +++ b/go/pkg/codes/constants_gen.go @@ -6,11 +6,11 @@ type URN string // Error code constants for use in switch statements for exhaustive checking const ( -// ---------------- -// UserErrors -// ---------------- + // ---------------- + // UserErrors + // ---------------- -// BadRequest + // BadRequest // PermissionsQuerySyntaxError indicates a syntax or lexical error in verifyKey permissions query parsing. UserErrorsBadRequestPermissionsQuerySyntaxError URN = "err:user:bad_request:permissions_query_syntax_error" @@ -21,11 +21,11 @@ const ( // ClientClosedRequest indicates the client closed the connection before the request completed. UserErrorsBadRequestClientClosedRequest URN = "err:user:bad_request:client_closed_request" -// ---------------- -// UnkeyAuthErrors -// ---------------- + // ---------------- + // UnkeyAuthErrors + // ---------------- -// Authentication + // Authentication // Missing indicates authentication credentials were not provided. UnkeyAuthErrorsAuthenticationMissing URN = "err:unkey:authentication:missing" @@ -34,7 +34,7 @@ const ( // KeyNotFound indicates the authentication key was not found. UnkeyAuthErrorsAuthenticationKeyNotFound URN = "err:unkey:authentication:key_not_found" -// Authorization + // Authorization // InsufficientPermissions indicates the authenticated entity lacks // sufficient permissions for the requested operation. @@ -46,101 +46,101 @@ const ( // WorkspaceDisabled indicates the associated workspace is disabled. UnkeyAuthErrorsAuthorizationWorkspaceDisabled URN = "err:unkey:authorization:workspace_disabled" -// ---------------- -// UnkeyDataErrors -// ---------------- + // ---------------- + // UnkeyDataErrors + // ---------------- -// Key + // Key // NotFound indicates the requested key was not found. UnkeyDataErrorsKeyNotFound URN = "err:unkey:data:key_not_found" -// Workspace + // Workspace // NotFound indicates the requested workspace was not found. UnkeyDataErrorsWorkspaceNotFound URN = "err:unkey:data:workspace_not_found" -// Api + // Api // NotFound indicates the requested API was not found. UnkeyDataErrorsApiNotFound URN = "err:unkey:data:api_not_found" -// Permission + // Permission // Duplicate indicates the requested permission already exists. UnkeyDataErrorsPermissionDuplicate URN = "err:unkey:data:permission_already_exists" // NotFound indicates the requested permission was not found. UnkeyDataErrorsPermissionNotFound URN = "err:unkey:data:permission_not_found" -// Role + // Role // Duplicate indicates the requested role already exists. UnkeyDataErrorsRoleDuplicate URN = "err:unkey:data:role_already_exists" // NotFound indicates the requested role was not found. UnkeyDataErrorsRoleNotFound URN = "err:unkey:data:role_not_found" -// KeyAuth + // KeyAuth // NotFound indicates the requested key authentication was not found. UnkeyDataErrorsKeyAuthNotFound URN = "err:unkey:data:key_auth_not_found" -// RatelimitNamespace + // RatelimitNamespace // NotFound indicates the requested rate limit namespace was not found. UnkeyDataErrorsRatelimitNamespaceNotFound URN = "err:unkey:data:ratelimit_namespace_not_found" // Gone indicates the requested rate limit namespace was deleted and is no longer available. UnkeyDataErrorsRatelimitNamespaceGone URN = "err:unkey:data:ratelimit_namespace_gone" -// RatelimitOverride + // RatelimitOverride // NotFound indicates the requested rate limit override was not found. UnkeyDataErrorsRatelimitOverrideNotFound URN = "err:unkey:data:ratelimit_override_not_found" -// Identity + // Identity // NotFound indicates the requested identity was not found. UnkeyDataErrorsIdentityNotFound URN = "err:unkey:data:identity_not_found" // Duplicate indicates the requested identity already exists. UnkeyDataErrorsIdentityDuplicate URN = "err:unkey:data:identity_already_exists" -// AuditLog + // AuditLog // NotFound indicates the requested audit log was not found. UnkeyDataErrorsAuditLogNotFound URN = "err:unkey:data:audit_log_not_found" -// ---------------- -// UnkeyAppErrors -// ---------------- + // ---------------- + // UnkeyAppErrors + // ---------------- -// Internal + // Internal // UnexpectedError represents an unhandled or unexpected error condition. UnkeyAppErrorsInternalUnexpectedError URN = "err:unkey:application:unexpected_error" // ServiceUnavailable indicates a service is temporarily unavailable. UnkeyAppErrorsInternalServiceUnavailable URN = "err:unkey:application:service_unavailable" -// Validation + // Validation // InvalidInput indicates a client provided input that failed validation. UnkeyAppErrorsValidationInvalidInput URN = "err:unkey:application:invalid_input" // AssertionFailed indicates a runtime assertion or invariant check failed. UnkeyAppErrorsValidationAssertionFailed URN = "err:unkey:application:assertion_failed" -// Protection + // Protection // ProtectedResource indicates an attempt to modify a protected resource. UnkeyAppErrorsProtectionProtectedResource URN = "err:unkey:application:protected_resource" -// Precondition + // Precondition // PreconditionFailed indicates a precondition check failed. UnkeyAppErrorsPreconditionPreconditionFailed URN = "err:unkey:application:precondition_failed" -// ---------------- -// UnkeyGatewayErrors -// ---------------- + // ---------------- + // UnkeyGatewayErrors + // ---------------- -// Proxy + // Proxy // BadGateway represents a 502 error - invalid response from upstream server UnkeyGatewayErrorsProxyBadGateway URN = "err:unkey:bad_gateway:bad_gateway" @@ -151,32 +151,31 @@ const ( // ProxyForwardFailed represents a 502 error - failed to forward request to backend UnkeyGatewayErrorsProxyProxyForwardFailed URN = "err:unkey:bad_gateway:proxy_forward_failed" -// Routing + // Routing // ConfigNotFound represents a 404 error - no gateway configuration found for the requested host UnkeyGatewayErrorsRoutingConfigNotFound URN = "err:unkey:not_found:config_not_found" // VMSelectionFailed represents a 500 error - failed to select an available VM UnkeyGatewayErrorsRoutingVMSelectionFailed URN = "err:unkey:internal_server_error:vm_selection_failed" -// Auth + // Auth // Unauthorized represents a 401 error - authentication required or failed UnkeyGatewayErrorsAuthUnauthorized URN = "err:unkey:unauthorized:unauthorized" // RateLimited represents a 429 error - rate limit exceeded UnkeyGatewayErrorsAuthRateLimited URN = "err:unkey:rate_limited:rate_limited" -// Validation + // Validation // RequestInvalid represents a 400 error - request validation failed UnkeyGatewayErrorsValidationRequestInvalid URN = "err:unkey:bad_request:request_invalid" // ResponseInvalid represents a 502 error - response validation failed UnkeyGatewayErrorsValidationResponseInvalid URN = "err:unkey:bad_request:response_invalid" -// Internal + // Internal // InternalServerError represents a 500 error - internal server error UnkeyGatewayErrorsInternalInternalServerError URN = "err:unkey:internal_server_error:internal_server_error" // KeyVerificationFailed represents a 500 error - key verification service failure UnkeyGatewayErrorsInternalKeyVerificationFailed URN = "err:unkey:internal_server_error:key_verification_failed" - ) diff --git a/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go b/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go index f66dd23bb3..3b4a3f100b 100644 --- a/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go +++ b/go/pkg/db/bulk_acme_challenge_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertAcmeChallenges(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_acme_user_insert.sql_generated.go b/go/pkg/db/bulk_acme_user_insert.sql_generated.go index 9558cd3c46..69e10d3857 100644 --- a/go/pkg/db/bulk_acme_user_insert.sql_generated.go +++ b/go/pkg/db/bulk_acme_user_insert.sql_generated.go @@ -35,6 +35,6 @@ func (q *BulkQueries) InsertAcmeUsers(ctx context.Context, db DBTX, args []Inser } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_api_insert.sql_generated.go b/go/pkg/db/bulk_api_insert.sql_generated.go index af80dd6dd7..c00eb0bee0 100644 --- a/go/pkg/db/bulk_api_insert.sql_generated.go +++ b/go/pkg/db/bulk_api_insert.sql_generated.go @@ -39,6 +39,6 @@ func (q *BulkQueries) InsertApis(ctx context.Context, db DBTX, args []InsertApiP } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_audit_log_insert.sql_generated.go b/go/pkg/db/bulk_audit_log_insert.sql_generated.go index ac40a8749f..32f9944441 100644 --- a/go/pkg/db/bulk_audit_log_insert.sql_generated.go +++ b/go/pkg/db/bulk_audit_log_insert.sql_generated.go @@ -46,6 +46,6 @@ func (q *BulkQueries) InsertAuditLogs(ctx context.Context, db DBTX, args []Inser } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go b/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go index f2fde7d840..92275b86f1 100644 --- a/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go +++ b/go/pkg/db/bulk_audit_log_target_insert.sql_generated.go @@ -42,6 +42,6 @@ func (q *BulkQueries) InsertAuditLogTargets(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_deployment_insert.sql_generated.go b/go/pkg/db/bulk_deployment_insert.sql_generated.go index fc7488048c..465a6610ea 100644 --- a/go/pkg/db/bulk_deployment_insert.sql_generated.go +++ b/go/pkg/db/bulk_deployment_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertDeployments(ctx context.Context, db DBTX, args []Ins } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_deployment_step_insert.sql_generated.go b/go/pkg/db/bulk_deployment_step_insert.sql_generated.go index 8052214e57..c1fee0f52b 100644 --- a/go/pkg/db/bulk_deployment_step_insert.sql_generated.go +++ b/go/pkg/db/bulk_deployment_step_insert.sql_generated.go @@ -40,6 +40,6 @@ func (q *BulkQueries) InsertDeploymentSteps(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_domain_insert.sql_generated.go b/go/pkg/db/bulk_domain_insert.sql_generated.go index bec3ac20bc..036190e528 100644 --- a/go/pkg/db/bulk_domain_insert.sql_generated.go +++ b/go/pkg/db/bulk_domain_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertDomains(ctx context.Context, db DBTX, args []InsertD } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_identity_insert.sql_generated.go b/go/pkg/db/bulk_identity_insert.sql_generated.go index c3b4583a8e..80bd90e82f 100644 --- a/go/pkg/db/bulk_identity_insert.sql_generated.go +++ b/go/pkg/db/bulk_identity_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertIdentities(ctx context.Context, db DBTX, args []Inse } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go b/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go index d4ba807b99..18d07f1836 100644 --- a/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go +++ b/go/pkg/db/bulk_identity_insert_ratelimit.sql_generated.go @@ -45,6 +45,6 @@ func (q *BulkQueries) InsertIdentityRatelimits(ctx context.Context, db DBTX, arg } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_encryption_insert.sql_generated.go b/go/pkg/db/bulk_key_encryption_insert.sql_generated.go index 372ecc9d4f..9a3a16ad9a 100644 --- a/go/pkg/db/bulk_key_encryption_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_encryption_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertKeyEncryptions(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_insert.sql_generated.go b/go/pkg/db/bulk_key_insert.sql_generated.go index 924911df0e..cfffaa2138 100644 --- a/go/pkg/db/bulk_key_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertKeys(ctx context.Context, db DBTX, args []InsertKeyP } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go b/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go index e6b3fce603..2b1a2f00f7 100644 --- a/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go +++ b/go/pkg/db/bulk_key_insert_ratelimit.sql_generated.go @@ -49,6 +49,6 @@ func (q *BulkQueries) InsertKeyRatelimits(ctx context.Context, db DBTX, args []I } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_permission_insert.sql_generated.go b/go/pkg/db/bulk_key_permission_insert.sql_generated.go index a3a83d8298..f12060f1ea 100644 --- a/go/pkg/db/bulk_key_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_permission_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertKeyPermissions(ctx context.Context, db DBTX, args [] } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_key_role_insert.sql_generated.go b/go/pkg/db/bulk_key_role_insert.sql_generated.go index 81da1a0f12..75654742d0 100644 --- a/go/pkg/db/bulk_key_role_insert.sql_generated.go +++ b/go/pkg/db/bulk_key_role_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertKeyRoles(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_keyring_insert.sql_generated.go b/go/pkg/db/bulk_keyring_insert.sql_generated.go index cf5a91665f..5848067565 100644 --- a/go/pkg/db/bulk_keyring_insert.sql_generated.go +++ b/go/pkg/db/bulk_keyring_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertKeyrings(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_permission_insert.sql_generated.go b/go/pkg/db/bulk_permission_insert.sql_generated.go index a5ed0f59cd..05f6d971e7 100644 --- a/go/pkg/db/bulk_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_permission_insert.sql_generated.go @@ -38,6 +38,6 @@ func (q *BulkQueries) InsertPermissions(ctx context.Context, db DBTX, args []Ins } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_project_insert.sql_generated.go b/go/pkg/db/bulk_project_insert.sql_generated.go index 60b5486231..01d8a3935c 100644 --- a/go/pkg/db/bulk_project_insert.sql_generated.go +++ b/go/pkg/db/bulk_project_insert.sql_generated.go @@ -41,6 +41,6 @@ func (q *BulkQueries) InsertProjects(ctx context.Context, db DBTX, args []Insert } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go b/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go index c8be775169..932e54826c 100644 --- a/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go +++ b/go/pkg/db/bulk_ratelimit_namespace_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertRatelimitNamespaces(ctx context.Context, db DBTX, ar } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go b/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go index 9d114c4909..f6172160ca 100644 --- a/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go +++ b/go/pkg/db/bulk_ratelimit_override_insert.sql_generated.go @@ -48,6 +48,6 @@ func (q *BulkQueries) InsertRatelimitOverrides(ctx context.Context, db DBTX, arg } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_role_insert.sql_generated.go b/go/pkg/db/bulk_role_insert.sql_generated.go index ebdb688647..5d0fd376fb 100644 --- a/go/pkg/db/bulk_role_insert.sql_generated.go +++ b/go/pkg/db/bulk_role_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertRoles(ctx context.Context, db DBTX, args []InsertRol } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_role_permission_insert.sql_generated.go b/go/pkg/db/bulk_role_permission_insert.sql_generated.go index fda1b0d623..c00635ce68 100644 --- a/go/pkg/db/bulk_role_permission_insert.sql_generated.go +++ b/go/pkg/db/bulk_role_permission_insert.sql_generated.go @@ -36,6 +36,6 @@ func (q *BulkQueries) InsertRolePermissions(ctx context.Context, db DBTX, args [ } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/db/bulk_workspace_insert.sql_generated.go b/go/pkg/db/bulk_workspace_insert.sql_generated.go index eb5de58d43..2aa27b0eaa 100644 --- a/go/pkg/db/bulk_workspace_insert.sql_generated.go +++ b/go/pkg/db/bulk_workspace_insert.sql_generated.go @@ -37,6 +37,6 @@ func (q *BulkQueries) InsertWorkspaces(ctx context.Context, db DBTX, args []Inse } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go b/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go index de32aa79ec..b4417fce73 100644 --- a/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go +++ b/go/pkg/partition/db/bulk_certificate_insert.sql_generated.go @@ -47,6 +47,6 @@ func (q *BulkQueries) InsertCertificates(ctx context.Context, db DBTX, args []In } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go b/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go index a7276f7e5e..8284413b0f 100644 --- a/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go +++ b/go/pkg/partition/db/bulk_gateway_upsert.sql_generated.go @@ -46,6 +46,6 @@ func (q *BulkQueries) UpsertGateway(ctx context.Context, db DBTX, args []UpsertG } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go b/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go index 7a2b0f3e35..fd6e97a9a4 100644 --- a/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go +++ b/go/pkg/partition/db/bulk_vm_upsert.sql_generated.go @@ -43,6 +43,6 @@ func (q *BulkQueries) UpsertVM(ctx context.Context, db DBTX, args []UpsertVMPara } // Execute the bulk insert - _, err := db.ExecContext(ctx, bulkQuery, allArgs...) - return err + _, err := db.ExecContext(ctx, bulkQuery, allArgs...) + return err } diff --git a/internal/proto/generated/ctrl/v1/acme_pb.ts b/internal/proto/generated/ctrl/v1/acme_pb.ts index be06b20ed0..efe6c0dd7d 100644 --- a/internal/proto/generated/ctrl/v1/acme_pb.ts +++ b/internal/proto/generated/ctrl/v1/acme_pb.ts @@ -2,62 +2,54 @@ // @generated from file ctrl/v1/acme.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/acme.proto. */ -export const file_ctrl_v1_acme: GenFile = - /*@__PURE__*/ - fileDesc( - "ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", - [file_google_protobuf_timestamp], - ); +export const file_ctrl_v1_acme: GenFile = /*@__PURE__*/ + fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.HandleCertificateVerificationRequest */ -export type HandleCertificateVerificationRequest = - Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { - /** - * @generated from field: string domain = 1; - */ - domain: string; +export type HandleCertificateVerificationRequest = Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { + /** + * @generated from field: string domain = 1; + */ + domain: string; - /** - * @generated from field: string token = 2; - */ - token: string; - }; + /** + * @generated from field: string token = 2; + */ + token: string; +}; /** * Describes the message ctrl.v1.HandleCertificateVerificationRequest. * Use `create(HandleCertificateVerificationRequestSchema)` to create a new message. */ -export const HandleCertificateVerificationRequestSchema: GenMessage = - /*@__PURE__*/ +export const HandleCertificateVerificationRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 0); /** * @generated from message ctrl.v1.HandleCertificateVerificationResponse */ -export type HandleCertificateVerificationResponse = - Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { - /** - * @generated from field: string token = 1; - */ - token: string; - }; +export type HandleCertificateVerificationResponse = Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { + /** + * @generated from field: string token = 1; + */ + token: string; +}; /** * Describes the message ctrl.v1.HandleCertificateVerificationResponse. * Use `create(HandleCertificateVerificationResponseSchema)` to create a new message. */ -export const HandleCertificateVerificationResponseSchema: GenMessage = - /*@__PURE__*/ +export const HandleCertificateVerificationResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 1); /** @@ -71,5 +63,7 @@ export const AcmeService: GenService<{ methodKind: "unary"; input: typeof HandleCertificateVerificationRequestSchema; output: typeof HandleCertificateVerificationResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_acme, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_acme, 0); + diff --git a/internal/proto/generated/ctrl/v1/build_pb.ts b/internal/proto/generated/ctrl/v1/build_pb.ts index 54e8b407ac..a1757d273b 100644 --- a/internal/proto/generated/ctrl/v1/build_pb.ts +++ b/internal/proto/generated/ctrl/v1/build_pb.ts @@ -2,21 +2,17 @@ // @generated from file ctrl/v1/build.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/build.proto. */ -export const file_ctrl_v1_build: GenFile = - /*@__PURE__*/ - fileDesc( - "ChNjdHJsL3YxL2J1aWxkLnByb3RvEgdjdHJsLnYxImgKEkNyZWF0ZUJ1aWxkUmVxdWVzdBIUCgx3b3Jrc3BhY2VfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRISCgp2ZXJzaW9uX2lkGAMgASgJEhQKDGRvY2tlcl9pbWFnZRgEIAEoCSInChNDcmVhdGVCdWlsZFJlc3BvbnNlEhAKCGJ1aWxkX2lkGAEgASgJIiMKD0dldEJ1aWxkUmVxdWVzdBIQCghidWlsZF9pZBgBIAEoCSIxChBHZXRCdWlsZFJlc3BvbnNlEh0KBWJ1aWxkGAEgASgLMg4uY3RybC52MS5CdWlsZCLpAgoFQnVpbGQSCgoCaWQYASABKAkSFAoMd29ya3NwYWNlX2lkGAIgASgJEhIKCnByb2plY3RfaWQYAyABKAkSEgoKdmVyc2lvbl9pZBgEIAEoCRIkCgZzdGF0dXMYBSABKA4yFC5jdHJsLnYxLkJ1aWxkU3RhdHVzEhUKDWVycm9yX21lc3NhZ2UYBiABKAkSLgoKY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cmwudjEuR2V0QnVpbGRSZXF1ZXN0GhkuY3RybC52MS5HZXRCdWlsZFJlc3BvbnNlIgBCNlo0Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9jdHJsL3YxO2N0cmx2MWIGcHJvdG8z", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.CreateBuildRequest @@ -47,8 +43,7 @@ export type CreateBuildRequest = Message<"ctrl.v1.CreateBuildRequest"> & { * Describes the message ctrl.v1.CreateBuildRequest. * Use `create(CreateBuildRequestSchema)` to create a new message. */ -export const CreateBuildRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateBuildRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 0); /** @@ -65,8 +60,7 @@ export type CreateBuildResponse = Message<"ctrl.v1.CreateBuildResponse"> & { * Describes the message ctrl.v1.CreateBuildResponse. * Use `create(CreateBuildResponseSchema)` to create a new message. */ -export const CreateBuildResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateBuildResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 1); /** @@ -83,8 +77,7 @@ export type GetBuildRequest = Message<"ctrl.v1.GetBuildRequest"> & { * Describes the message ctrl.v1.GetBuildRequest. * Use `create(GetBuildRequestSchema)` to create a new message. */ -export const GetBuildRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetBuildRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 2); /** @@ -101,8 +94,7 @@ export type GetBuildResponse = Message<"ctrl.v1.GetBuildResponse"> & { * Describes the message ctrl.v1.GetBuildResponse. * Use `create(GetBuildResponseSchema)` to create a new message. */ -export const GetBuildResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetBuildResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 3); /** @@ -179,7 +171,8 @@ export type Build = Message<"ctrl.v1.Build"> & { * Describes the message ctrl.v1.Build. * Use `create(BuildSchema)` to create a new message. */ -export const BuildSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 4); +export const BuildSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_ctrl_v1_build, 4); /** * Build status enum @@ -221,8 +214,7 @@ export enum BuildStatus { /** * Describes the enum ctrl.v1.BuildStatus. */ -export const BuildStatusSchema: GenEnum = - /*@__PURE__*/ +export const BuildStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_build, 0); /** @@ -238,7 +230,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof CreateBuildRequestSchema; output: typeof CreateBuildResponseSchema; - }; + }, /** * Get build details * @@ -248,5 +240,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof GetBuildRequestSchema; output: typeof GetBuildResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_build, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_build, 0); + diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 9128fb6157..95db0edcec 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -2,9 +2,9 @@ // @generated from file ctrl/v1/deployment.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/deployment.proto. @@ -91,8 +91,7 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> * Describes the message ctrl.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 0); /** @@ -116,8 +115,7 @@ export type CreateDeploymentResponse = Message<"ctrl.v1.CreateDeploymentResponse * Describes the message ctrl.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 1); /** @@ -134,8 +132,7 @@ export type GetDeploymentRequest = Message<"ctrl.v1.GetDeploymentRequest"> & { * Describes the message ctrl.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 2); /** @@ -152,8 +149,7 @@ export type GetDeploymentResponse = Message<"ctrl.v1.GetDeploymentResponse"> & { * Describes the message ctrl.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 3); /** @@ -289,8 +285,7 @@ export type Deployment = Message<"ctrl.v1.Deployment"> & { * Describes the message ctrl.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 4); /** @@ -322,8 +317,7 @@ export type DeploymentStep = Message<"ctrl.v1.DeploymentStep"> & { * Describes the message ctrl.v1.DeploymentStep. * Use `create(DeploymentStepSchema)` to create a new message. */ -export const DeploymentStepSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentStepSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 5); /** @@ -371,8 +365,7 @@ export type Topology = Message<"ctrl.v1.Topology"> & { * Describes the message ctrl.v1.Topology. * Use `create(TopologySchema)` to create a new message. */ -export const TopologySchema: GenMessage = - /*@__PURE__*/ +export const TopologySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 6); /** @@ -399,8 +392,7 @@ export type RegionalConfig = Message<"ctrl.v1.RegionalConfig"> & { * Describes the message ctrl.v1.RegionalConfig. * Use `create(RegionalConfigSchema)` to create a new message. */ -export const RegionalConfigSchema: GenMessage = - /*@__PURE__*/ +export const RegionalConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 7); /** @@ -422,21 +414,20 @@ export type RollbackRequest = Message<"ctrl.v1.RollbackRequest"> & { * Describes the message ctrl.v1.RollbackRequest. * Use `create(RollbackRequestSchema)` to create a new message. */ -export const RollbackRequestSchema: GenMessage = - /*@__PURE__*/ +export const RollbackRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 8); /** * @generated from message ctrl.v1.RollbackResponse */ -export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & {}; +export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & { +}; /** * Describes the message ctrl.v1.RollbackResponse. * Use `create(RollbackResponseSchema)` to create a new message. */ -export const RollbackResponseSchema: GenMessage = - /*@__PURE__*/ +export const RollbackResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 9); /** @@ -453,21 +444,20 @@ export type PromoteRequest = Message<"ctrl.v1.PromoteRequest"> & { * Describes the message ctrl.v1.PromoteRequest. * Use `create(PromoteRequestSchema)` to create a new message. */ -export const PromoteRequestSchema: GenMessage = - /*@__PURE__*/ +export const PromoteRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 10); /** * @generated from message ctrl.v1.PromoteResponse */ -export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & {}; +export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & { +}; /** * Describes the message ctrl.v1.PromoteResponse. * Use `create(PromoteResponseSchema)` to create a new message. */ -export const PromoteResponseSchema: GenMessage = - /*@__PURE__*/ +export const PromoteResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 11); /** @@ -515,8 +505,7 @@ export enum DeploymentStatus { /** * Describes the enum ctrl.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = - /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 0); /** @@ -544,8 +533,7 @@ export enum SourceType { /** * Describes the enum ctrl.v1.SourceType. */ -export const SourceTypeSchema: GenEnum = - /*@__PURE__*/ +export const SourceTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 1); /** @@ -561,7 +549,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }; + }, /** * Get deployment details * @@ -571,7 +559,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }; + }, /** * Reassign the sticky domains of the projects live deployment to the target deployment * @@ -581,7 +569,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof RollbackRequestSchema; output: typeof RollbackResponseSchema; - }; + }, /** * Promote the deployment to the live environment * @@ -591,5 +579,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof PromoteRequestSchema; output: typeof PromoteResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_deployment, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_deployment, 0); + diff --git a/internal/proto/generated/ctrl/v1/openapi_pb.ts b/internal/proto/generated/ctrl/v1/openapi_pb.ts index bd94d2eab2..91dacf09ac 100644 --- a/internal/proto/generated/ctrl/v1/openapi_pb.ts +++ b/internal/proto/generated/ctrl/v1/openapi_pb.ts @@ -2,18 +2,15 @@ // @generated from file ctrl/v1/openapi.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/openapi.proto. */ -export const file_ctrl_v1_openapi: GenFile = - /*@__PURE__*/ - fileDesc( - "ChVjdHJsL3YxL29wZW5hcGkucHJvdG8SB2N0cmwudjEiTQoVR2V0T3BlbkFwaURpZmZSZXF1ZXN0EhkKEW9sZF9kZXBsb3ltZW50X2lkGAEgASgJEhkKEW5ld19kZXBsb3ltZW50X2lkGAIgASgJIoYBCg5DaGFuZ2Vsb2dFbnRyeRIKCgJpZBgBIAEoCRIMCgR0ZXh0GAIgASgJEg0KBWxldmVsGAMgASgFEhEKCW9wZXJhdGlvbhgEIAEoCRIZCgxvcGVyYXRpb25faWQYBSABKAlIAIgBARIMCgRwYXRoGAYgASgJQg8KDV9vcGVyYXRpb25faWQiQgoLRGlmZlN1bW1hcnkSDAoEZGlmZhgBIAEoCBIlCgdkZXRhaWxzGAIgASgLMhQuY3RybC52MS5EaWZmRGV0YWlscyJ/CgtEaWZmRGV0YWlscxImCgllbmRwb2ludHMYASABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSIgoFcGF0aHMYAiABKAsyEy5jdHJsLnYxLkRpZmZDb3VudHMSJAoHc2NoZW1hcxgDIAEoCzITLmN0cmwudjEuRGlmZkNvdW50cyI+CgpEaWZmQ291bnRzEg0KBWFkZGVkGAEgASgFEg8KB2RlbGV0ZWQYAiABKAUSEAoIbW9kaWZpZWQYAyABKAUihwEKFkdldE9wZW5BcGlEaWZmUmVzcG9uc2USJQoHc3VtbWFyeRgBIAEoCzIULmN0cmwudjEuRGlmZlN1bW1hcnkSHAoUaGFzX2JyZWFraW5nX2NoYW5nZXMYAi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EuRGlmZlN1bW1hcnkSHAoUaGFzX2JyZWFraW5nX2NoYW5nZXMYAiABKAgSKAoHY2hhbmdlcxgDIAMoCzIXLmN0cmwudjEuQ2hhbmdlbG9nRW50cnkyZQoOT3BlbkFwaVNlcnZpY2USUwoOR2V0T3BlbkFwaURpZmYSHi5jdHJsLnYxLkdldE9wZW5BcGlEaWZmUmVxdWVzdBofLmN0cmwudjEuR2V0T3BlbkFwaURpZmZSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); /** * @generated from message ctrl.v1.GetOpenApiDiffRequest @@ -34,8 +31,7 @@ export type GetOpenApiDiffRequest = Message<"ctrl.v1.GetOpenApiDiffRequest"> & { * Describes the message ctrl.v1.GetOpenApiDiffRequest. * Use `create(GetOpenApiDiffRequestSchema)` to create a new message. */ -export const GetOpenApiDiffRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetOpenApiDiffRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 0); /** @@ -77,8 +73,7 @@ export type ChangelogEntry = Message<"ctrl.v1.ChangelogEntry"> & { * Describes the message ctrl.v1.ChangelogEntry. * Use `create(ChangelogEntrySchema)` to create a new message. */ -export const ChangelogEntrySchema: GenMessage = - /*@__PURE__*/ +export const ChangelogEntrySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 1); /** @@ -100,8 +95,7 @@ export type DiffSummary = Message<"ctrl.v1.DiffSummary"> & { * Describes the message ctrl.v1.DiffSummary. * Use `create(DiffSummarySchema)` to create a new message. */ -export const DiffSummarySchema: GenMessage = - /*@__PURE__*/ +export const DiffSummarySchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 2); /** @@ -128,8 +122,7 @@ export type DiffDetails = Message<"ctrl.v1.DiffDetails"> & { * Describes the message ctrl.v1.DiffDetails. * Use `create(DiffDetailsSchema)` to create a new message. */ -export const DiffDetailsSchema: GenMessage = - /*@__PURE__*/ +export const DiffDetailsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 3); /** @@ -156,8 +149,7 @@ export type DiffCounts = Message<"ctrl.v1.DiffCounts"> & { * Describes the message ctrl.v1.DiffCounts. * Use `create(DiffCountsSchema)` to create a new message. */ -export const DiffCountsSchema: GenMessage = - /*@__PURE__*/ +export const DiffCountsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 4); /** @@ -184,8 +176,7 @@ export type GetOpenApiDiffResponse = Message<"ctrl.v1.GetOpenApiDiffResponse"> & * Describes the message ctrl.v1.GetOpenApiDiffResponse. * Use `create(GetOpenApiDiffResponseSchema)` to create a new message. */ -export const GetOpenApiDiffResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetOpenApiDiffResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 5); /** @@ -199,5 +190,7 @@ export const OpenApiService: GenService<{ methodKind: "unary"; input: typeof GetOpenApiDiffRequestSchema; output: typeof GetOpenApiDiffResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_openapi, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_openapi, 0); + diff --git a/internal/proto/generated/ctrl/v1/service_pb.ts b/internal/proto/generated/ctrl/v1/service_pb.ts index 299444f90a..210e79e6e7 100644 --- a/internal/proto/generated/ctrl/v1/service_pb.ts +++ b/internal/proto/generated/ctrl/v1/service_pb.ts @@ -2,30 +2,27 @@ // @generated from file ctrl/v1/service.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/service.proto. */ -export const file_ctrl_v1_service: GenFile = - /*@__PURE__*/ - fileDesc( - "ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", - ); +export const file_ctrl_v1_service: GenFile = /*@__PURE__*/ + fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); /** * @generated from message ctrl.v1.LivenessRequest */ -export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & {}; +export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & { +}; /** * Describes the message ctrl.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = - /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 0); /** @@ -52,8 +49,7 @@ export type LivenessResponse = Message<"ctrl.v1.LivenessResponse"> & { * Describes the message ctrl.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = - /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 1); /** @@ -67,5 +63,7 @@ export const CtrlService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_service, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_ctrl_v1_service, 0); + diff --git a/internal/proto/generated/krane/v1/deployment_pb.ts b/internal/proto/generated/krane/v1/deployment_pb.ts index 20dc39aea7..50b4790c9c 100644 --- a/internal/proto/generated/krane/v1/deployment_pb.ts +++ b/internal/proto/generated/krane/v1/deployment_pb.ts @@ -2,18 +2,15 @@ // @generated from file krane/v1/deployment.proto (package krane.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file krane/v1/deployment.proto. */ -export const file_krane_v1_deployment: GenFile = - /*@__PURE__*/ - fileDesc( - "ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50Um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JlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z", - ); +export const file_krane_v1_deployment: GenFile = /*@__PURE__*/ + fileDesc("ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USKgoGc3RhdHVzGAEgASgOMhoua3JhbmUudjEuRGVwbG95bWVudFN0YXR1cyJKChdVcGRhdGVEZXBsb3ltZW50UmVxdWVzdBIvCgpkZXBsb3ltZW50GAEgASgLMhsua3JhbmUudjEuRGVwbG95bWVudFJlcXVlc3QiKwoYVXBkYXRlRGVwbG95bWVudFJlc3BvbnNlEg8KB3BvZF9pZHMYASADKAkiQwoXRGVsZXRlRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkiGgoYRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlIkAKFEdldERlcGxveW1lbnRSZXF1ZXN0EhEKCW5hbWVzcGFjZRgBIAEoCRIVCg1kZXBsb3ltZW50X2lkGAIgASgJIj4KFUdldERlcGxveW1lbnRSZXNwb25zZRIlCglpbnN0YW5jZXMYAiADKAsyEi5rcmFuZS52MS5JbnN0YW5jZSJTCghJbnN0YW5jZRIKCgJpZBgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEioKBnN0YXR1cxgDIAEoDjIaLmtyYW5lLnYxLkRlcGxveW1lbnRTdGF0dXMqlgEKEERlcGxveW1lbnRTdGF0dXMSIQodREVQTE9ZTUVOVF9TVEFUVVNfVU5TUEVDSUZJRUQQABIdChlERVBMT1lNRU5UX1NUQVRVU19QRU5ESU5HEAESHQoZREVQTE9ZTUVOVF9TVEFUVVNfUlVOTklORxACEiEKHURFUExPWU1FTlRfU1RBVFVTX1RFUk1JTkFUSU5HEAMymwIKEURlcGxveW1lbnRTZXJ2aWNlElkKEENyZWF0ZURlcGxveW1lbnQSIS5rcmFuZS52MS5DcmVhdGVEZXBsb3ltZW50UmVxdWVzdBoiLmtyYW5lLnYxLkNyZWF0ZURlcGxveW1lbnRSZXNwb25zZRJQCg1HZXREZXBsb3ltZW50Eh4ua3JhbmUudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8va3JhbmUvdjE7a3JhbmV2MWIGcHJvdG8z"); /** * @generated from message krane.v1.DeploymentRequest @@ -54,8 +51,7 @@ export type DeploymentRequest = Message<"krane.v1.DeploymentRequest"> & { * Describes the message krane.v1.DeploymentRequest. * Use `create(DeploymentRequestSchema)` to create a new message. */ -export const DeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 0); /** @@ -72,8 +68,7 @@ export type CreateDeploymentRequest = Message<"krane.v1.CreateDeploymentRequest" * Describes the message krane.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 1); /** @@ -90,8 +85,7 @@ export type CreateDeploymentResponse = Message<"krane.v1.CreateDeploymentRespons * Describes the message krane.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 2); /** @@ -108,8 +102,7 @@ export type UpdateDeploymentRequest = Message<"krane.v1.UpdateDeploymentRequest" * Describes the message krane.v1.UpdateDeploymentRequest. * Use `create(UpdateDeploymentRequestSchema)` to create a new message. */ -export const UpdateDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const UpdateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 3); /** @@ -126,8 +119,7 @@ export type UpdateDeploymentResponse = Message<"krane.v1.UpdateDeploymentRespons * Describes the message krane.v1.UpdateDeploymentResponse. * Use `create(UpdateDeploymentResponseSchema)` to create a new message. */ -export const UpdateDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const UpdateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 4); /** @@ -149,21 +141,20 @@ export type DeleteDeploymentRequest = Message<"krane.v1.DeleteDeploymentRequest" * Describes the message krane.v1.DeleteDeploymentRequest. * Use `create(DeleteDeploymentRequestSchema)` to create a new message. */ -export const DeleteDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const DeleteDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 5); /** * @generated from message krane.v1.DeleteDeploymentResponse */ -export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & {}; +export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & { +}; /** * Describes the message krane.v1.DeleteDeploymentResponse. * Use `create(DeleteDeploymentResponseSchema)` to create a new message. */ -export const DeleteDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const DeleteDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 6); /** @@ -185,8 +176,7 @@ export type GetDeploymentRequest = Message<"krane.v1.GetDeploymentRequest"> & { * Describes the message krane.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 7); /** @@ -203,8 +193,7 @@ export type GetDeploymentResponse = Message<"krane.v1.GetDeploymentResponse"> & * Describes the message krane.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = - /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 8); /** @@ -231,8 +220,7 @@ export type Instance = Message<"krane.v1.Instance"> & { * Describes the message krane.v1.Instance. * Use `create(InstanceSchema)` to create a new message. */ -export const InstanceSchema: GenMessage = - /*@__PURE__*/ +export const InstanceSchema: GenMessage = /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 9); /** @@ -269,8 +257,7 @@ export enum DeploymentStatus { /** * Describes the enum krane.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = - /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_krane_v1_deployment, 0); /** @@ -286,7 +273,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }; + }, /** * GetDeployment * @@ -296,7 +283,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }; + }, /** * DeleteDeployment * @@ -306,5 +293,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof DeleteDeploymentRequestSchema; output: typeof DeleteDeploymentResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_krane_v1_deployment, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_krane_v1_deployment, 0); + diff --git a/internal/proto/generated/partition/v1/gateway_pb.ts b/internal/proto/generated/partition/v1/gateway_pb.ts index f617b79611..fb9a92c9ae 100644 --- a/internal/proto/generated/partition/v1/gateway_pb.ts +++ b/internal/proto/generated/partition/v1/gateway_pb.ts @@ -2,18 +2,15 @@ // @generated from file partition/v1/gateway.proto (package partition.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file partition/v1/gateway.proto. */ -export const file_partition_v1_gateway: GenFile = - /*@__PURE__*/ - fileDesc( - "ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw", - ); +export const file_partition_v1_gateway: GenFile = /*@__PURE__*/ + fileDesc("ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2plY3QYASABKAsyFS5wYXJ0aXRpb24udjEuUHJvamVjdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCQFo+Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by9wYXJ0aXRpb24vdjE7cGFydGl0aW9udjFiBnByb3RvMw"); /** * GatewayConfig contains all configuration needed for a hostname @@ -56,8 +53,7 @@ export type GatewayConfig = Message<"partition.v1.GatewayConfig"> & { * Describes the message partition.v1.GatewayConfig. * Use `create(GatewayConfigSchema)` to create a new message. */ -export const GatewayConfigSchema: GenMessage = - /*@__PURE__*/ +export const GatewayConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 0); /** @@ -79,8 +75,7 @@ export type Deployment = Message<"partition.v1.Deployment"> & { * Describes the message partition.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = - /*@__PURE__*/ +export const DeploymentSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 1); /** @@ -102,8 +97,7 @@ export type Project = Message<"partition.v1.Project"> & { * Describes the message partition.v1.Project. * Use `create(ProjectSchema)` to create a new message. */ -export const ProjectSchema: GenMessage = - /*@__PURE__*/ +export const ProjectSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 2); /** @@ -120,7 +114,8 @@ export type VM = Message<"partition.v1.VM"> & { * Describes the message partition.v1.VM. * Use `create(VMSchema)` to create a new message. */ -export const VMSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 3); +export const VMSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_partition_v1_gateway, 3); /** * Authentication middleware configuration @@ -138,8 +133,7 @@ export type AuthConfig = Message<"partition.v1.AuthConfig"> & { * Describes the message partition.v1.AuthConfig. * Use `create(AuthConfigSchema)` to create a new message. */ -export const AuthConfigSchema: GenMessage = - /*@__PURE__*/ +export const AuthConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 4); /** @@ -160,6 +154,6 @@ export type ValidationConfig = Message<"partition.v1.ValidationConfig"> & { * Describes the message partition.v1.ValidationConfig. * Use `create(ValidationConfigSchema)` to create a new message. */ -export const ValidationConfigSchema: GenMessage = - /*@__PURE__*/ +export const ValidationConfigSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 5); + diff --git a/internal/proto/generated/vault/v1/object_pb.ts b/internal/proto/generated/vault/v1/object_pb.ts index 05ad96ef8e..0aa3d990b7 100644 --- a/internal/proto/generated/vault/v1/object_pb.ts +++ b/internal/proto/generated/vault/v1/object_pb.ts @@ -2,18 +2,15 @@ // @generated from file vault/v1/object.proto (package vault.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/object.proto. */ -export const file_vault_v1_object: GenFile = - /*@__PURE__*/ - fileDesc( - "ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABCOFo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxYgZwcm90bzM", - ); +export const file_vault_v1_object: GenFile = /*@__PURE__*/ + fileDesc("ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABCOFo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxYgZwcm90bzM"); /** * @generated from message vault.v1.DataEncryptionKey @@ -41,8 +38,7 @@ export type DataEncryptionKey = Message<"vault.v1.DataEncryptionKey"> & { * Describes the message vault.v1.DataEncryptionKey. * Use `create(DataEncryptionKeySchema)` to create a new message. */ -export const DataEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const DataEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 0); /** @@ -73,8 +69,7 @@ export type EncryptedDataEncryptionKey = Message<"vault.v1.EncryptedDataEncrypti * Describes the message vault.v1.EncryptedDataEncryptionKey. * Use `create(EncryptedDataEncryptionKeySchema)` to create a new message. */ -export const EncryptedDataEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const EncryptedDataEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 1); /** @@ -103,8 +98,7 @@ export type KeyEncryptionKey = Message<"vault.v1.KeyEncryptionKey"> & { * Describes the message vault.v1.KeyEncryptionKey. * Use `create(KeyEncryptionKeySchema)` to create a new message. */ -export const KeyEncryptionKeySchema: GenMessage = - /*@__PURE__*/ +export const KeyEncryptionKeySchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 2); /** @@ -148,8 +142,7 @@ export type Encrypted = Message<"vault.v1.Encrypted"> & { * Describes the message vault.v1.Encrypted. * Use `create(EncryptedSchema)` to create a new message. */ -export const EncryptedSchema: GenMessage = - /*@__PURE__*/ +export const EncryptedSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_object, 3); /** @@ -165,4 +158,6 @@ export enum Algorithm { /** * Describes the enum vault.v1.Algorithm. */ -export const AlgorithmSchema: GenEnum = /*@__PURE__*/ enumDesc(file_vault_v1_object, 0); +export const AlgorithmSchema: GenEnum = /*@__PURE__*/ + enumDesc(file_vault_v1_object, 0); + diff --git a/internal/proto/generated/vault/v1/service_pb.ts b/internal/proto/generated/vault/v1/service_pb.ts index 78823d10ee..f9a8810dc6 100644 --- a/internal/proto/generated/vault/v1/service_pb.ts +++ b/internal/proto/generated/vault/v1/service_pb.ts @@ -2,30 +2,27 @@ // @generated from file vault/v1/service.proto (package vault.v1, syntax proto3) /* eslint-disable */ -import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; +import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/service.proto. */ -export const file_vault_v1_service: GenFile = - /*@__PURE__*/ - fileDesc( - "ChZ2YXVsdC92MS9zZXJ2aWNlLnByb3RvEgh2YXVsdC52MSIRCg9MaXZlbmVzc1JlcXVlc3QiIgoQTGl2ZW5lc3NSZXNwb25zZRIOCgZzdGF0dXMYASABKAkiLwoORW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIMCgRkYXRhGAIgASgJIjQKD0VuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIjMKEkVuY3J5cHRCdWxrUmVxdWVzdBIPCgdrZXlyaW5nGAEgASgJEgwKBGRhdGEYAiADKAkiQwoTRW5jcnlwdEJ1bGtSZXNwb25zZRIsCgllbmNyeXB0ZWQYASADKAsyGS52YXVsdC52MS5FbmNyeXB0UmVzcG9uc2UiNAoORGVjcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkiJAoPRGVjcnlwdFJlc3BvbnNlEhEKCXBsYWludGV4dBgBIAEoCSIjChBDcmVhdGVERUtSZXF1ZXN0Eg8KB2tleXJpbmcYASABKAkiIwoRQ3JlYXRlREVLUmVzcG9uc2USDgoGa2V5X2lkGAEgASgJIlYKEFJlRW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkSEwoGa2V5X2lkGAMgASgJSACIAQFCCQoHX2tleV9pZCI2ChFSZUVuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIhYKFFJlRW5jcnlwdERFS3NSZXF1ZXN0IhcKFVJlRW5jcnlwdERFS3NSZXNwb25zZTKJBAoMVmF1bHRTZXJ2aWNlEkMKCExpdmVuZXNzEhkudmF1bHQudjEuTGl2ZW5lc3NSZXF1ZXN0GhoudmF1bHQudjEu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EkYKCVJlRW5jcnlwdBIaLnZhdWx0LnYxLlJlRW5jcnlwdFJlcXVlc3QaGy52YXVsdC52MS5SZUVuY3J5cHRSZXNwb25zZSIAElIKDVJlRW5jcnlwdERFS3MSHi52YXVsdC52MS5SZUVuY3J5cHRERUtzUmVxdWVzdBofLnZhdWx0LnYxLlJlRW5jcnlwdERFS3NSZXNwb25zZSIAQjhaNmdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vdmF1bHQvdjE7dmF1bHR2MWIGcHJvdG8z"); /** * @generated from message vault.v1.LivenessRequest */ -export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & {}; +export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & { +}; /** * Describes the message vault.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = - /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 0); /** @@ -42,8 +39,7 @@ export type LivenessResponse = Message<"vault.v1.LivenessResponse"> & { * Describes the message vault.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = - /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 1); /** @@ -65,8 +61,7 @@ export type EncryptRequest = Message<"vault.v1.EncryptRequest"> & { * Describes the message vault.v1.EncryptRequest. * Use `create(EncryptRequestSchema)` to create a new message. */ -export const EncryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const EncryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 2); /** @@ -88,8 +83,7 @@ export type EncryptResponse = Message<"vault.v1.EncryptResponse"> & { * Describes the message vault.v1.EncryptResponse. * Use `create(EncryptResponseSchema)` to create a new message. */ -export const EncryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const EncryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 3); /** @@ -111,8 +105,7 @@ export type EncryptBulkRequest = Message<"vault.v1.EncryptBulkRequest"> & { * Describes the message vault.v1.EncryptBulkRequest. * Use `create(EncryptBulkRequestSchema)` to create a new message. */ -export const EncryptBulkRequestSchema: GenMessage = - /*@__PURE__*/ +export const EncryptBulkRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 4); /** @@ -129,8 +122,7 @@ export type EncryptBulkResponse = Message<"vault.v1.EncryptBulkResponse"> & { * Describes the message vault.v1.EncryptBulkResponse. * Use `create(EncryptBulkResponseSchema)` to create a new message. */ -export const EncryptBulkResponseSchema: GenMessage = - /*@__PURE__*/ +export const EncryptBulkResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 5); /** @@ -152,8 +144,7 @@ export type DecryptRequest = Message<"vault.v1.DecryptRequest"> & { * Describes the message vault.v1.DecryptRequest. * Use `create(DecryptRequestSchema)` to create a new message. */ -export const DecryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const DecryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 6); /** @@ -170,8 +161,7 @@ export type DecryptResponse = Message<"vault.v1.DecryptResponse"> & { * Describes the message vault.v1.DecryptResponse. * Use `create(DecryptResponseSchema)` to create a new message. */ -export const DecryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const DecryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 7); /** @@ -188,8 +178,7 @@ export type CreateDEKRequest = Message<"vault.v1.CreateDEKRequest"> & { * Describes the message vault.v1.CreateDEKRequest. * Use `create(CreateDEKRequestSchema)` to create a new message. */ -export const CreateDEKRequestSchema: GenMessage = - /*@__PURE__*/ +export const CreateDEKRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 8); /** @@ -206,8 +195,7 @@ export type CreateDEKResponse = Message<"vault.v1.CreateDEKResponse"> & { * Describes the message vault.v1.CreateDEKResponse. * Use `create(CreateDEKResponseSchema)` to create a new message. */ -export const CreateDEKResponseSchema: GenMessage = - /*@__PURE__*/ +export const CreateDEKResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 9); /** @@ -236,8 +224,7 @@ export type ReEncryptRequest = Message<"vault.v1.ReEncryptRequest"> & { * Describes the message vault.v1.ReEncryptRequest. * Use `create(ReEncryptRequestSchema)` to create a new message. */ -export const ReEncryptRequestSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 10); /** @@ -259,34 +246,33 @@ export type ReEncryptResponse = Message<"vault.v1.ReEncryptResponse"> & { * Describes the message vault.v1.ReEncryptResponse. * Use `create(ReEncryptResponseSchema)` to create a new message. */ -export const ReEncryptResponseSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 11); /** * @generated from message vault.v1.ReEncryptDEKsRequest */ -export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & {}; +export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & { +}; /** * Describes the message vault.v1.ReEncryptDEKsRequest. * Use `create(ReEncryptDEKsRequestSchema)` to create a new message. */ -export const ReEncryptDEKsRequestSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptDEKsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 12); /** * @generated from message vault.v1.ReEncryptDEKsResponse */ -export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & {}; +export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & { +}; /** * Describes the message vault.v1.ReEncryptDEKsResponse. * Use `create(ReEncryptDEKsResponseSchema)` to create a new message. */ -export const ReEncryptDEKsResponseSchema: GenMessage = - /*@__PURE__*/ +export const ReEncryptDEKsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_vault_v1_service, 13); /** @@ -300,7 +286,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.CreateDEK */ @@ -308,7 +294,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof CreateDEKRequestSchema; output: typeof CreateDEKResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.Encrypt */ @@ -316,7 +302,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptRequestSchema; output: typeof EncryptResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.EncryptBulk */ @@ -324,7 +310,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptBulkRequestSchema; output: typeof EncryptBulkResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.Decrypt */ @@ -332,7 +318,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof DecryptRequestSchema; output: typeof DecryptResponseSchema; - }; + }, /** * ReEncrypt rec * @@ -342,7 +328,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptRequestSchema; output: typeof ReEncryptResponseSchema; - }; + }, /** * @generated from rpc vault.v1.VaultService.ReEncryptDEKs */ @@ -350,5 +336,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptDEKsRequestSchema; output: typeof ReEncryptDEKsResponseSchema; - }; -}> = /*@__PURE__*/ serviceDesc(file_vault_v1_service, 0); + }, +}> = /*@__PURE__*/ + serviceDesc(file_vault_v1_service, 0); + From 0d791bfc2d238f10dd4eff325c780476ad8feb38 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Mon, 6 Oct 2025 14:08:27 -0400 Subject: [PATCH 10/12] merge conflict fix --- .../services/deployment/create_deployment.go | 7 ++- go/cmd/deploy/config.go | 18 +++--- go/cmd/deploy/control_plane.go | 2 +- go/cmd/deploy/main.go | 12 ++-- go/gen/proto/ctrl/v1/deployment.pb.go | 59 ++++++++++--------- go/proto/ctrl/v1/deployment.proto | 25 ++++---- internal/proto/generated/ctrl/v1/acme_pb.ts | 2 +- internal/proto/generated/ctrl/v1/build_pb.ts | 2 +- .../proto/generated/ctrl/v1/deployment_pb.ts | 33 +++++------ .../proto/generated/ctrl/v1/openapi_pb.ts | 2 +- .../proto/generated/ctrl/v1/service_pb.ts | 2 +- .../proto/generated/krane/v1/deployment_pb.ts | 2 +- .../generated/partition/v1/gateway_pb.ts | 2 +- .../proto/generated/vault/v1/object_pb.ts | 2 +- .../proto/generated/vault/v1/service_pb.ts | 2 +- 15 files changed, 88 insertions(+), 84 deletions(-) diff --git a/go/apps/ctrl/services/deployment/create_deployment.go b/go/apps/ctrl/services/deployment/create_deployment.go index 3be5eb86fb..1057b31b23 100644 --- a/go/apps/ctrl/services/deployment/create_deployment.go +++ b/go/apps/ctrl/services/deployment/create_deployment.go @@ -129,10 +129,15 @@ func (s *Service) CreateDeployment( ) // Start the deployment workflow directly + keyspaceID := req.Msg.GetKeyspaceId() + var keyAuthID *string + if keyspaceID != "" { + keyAuthID = &keyspaceID + } deployReq := &hydrav1.DeployRequest{ DeploymentId: deploymentID, DockerImage: req.Msg.GetDockerImage(), - KeyAuthId: req.Msg.GetKeyspaceId(), + KeyAuthId: keyAuthID, } // this is ugly, but we're waiting for // https://github.com/restatedev/sdk-go/issues/103 diff --git a/go/cmd/deploy/config.go b/go/cmd/deploy/config.go index e3e7ea8278..4cc7b5b786 100644 --- a/go/cmd/deploy/config.go +++ b/go/cmd/deploy/config.go @@ -19,9 +19,9 @@ var ( ) type Config struct { - ApiID string `json:"api_id"` - ProjectID string `json:"project_id"` - Context string `json:"context"` + KeyspaceID string `json:"keyspace_id"` + ProjectID string `json:"project_id"` + Context string `json:"context"` } // loadConfig loads configuration from unkey.json in the specified directory. @@ -112,18 +112,18 @@ func writeConfig(configPath string, config *Config) error { } // mergeWithFlags merges config values with command flags, with flags taking precedence -func (c *Config) mergeWithFlags(projectID, apiID, context string) *Config { +func (c *Config) mergeWithFlags(projectID, keyspaceID, context string) *Config { merged := &Config{ - ApiID: c.ApiID, - ProjectID: c.ProjectID, - Context: c.Context, + KeyspaceID: c.KeyspaceID, + ProjectID: c.ProjectID, + Context: c.Context, } // Flags override config values if projectID != "" { merged.ProjectID = projectID } - if apiID != "" { - merged.ApiID = apiID + if keyspaceID != "" { + merged.KeyspaceID = keyspaceID } if context != "" { merged.Context = context diff --git a/go/cmd/deploy/control_plane.go b/go/cmd/deploy/control_plane.go index 9f7cfb2de7..3dead4a8bc 100644 --- a/go/cmd/deploy/control_plane.go +++ b/go/cmd/deploy/control_plane.go @@ -55,7 +55,7 @@ func (c *ControlPlaneClient) CreateDeployment(ctx context.Context, dockerImage s commitInfo := git.GetInfo() createReq := connect.NewRequest(&ctrlv1.CreateDeploymentRequest{ ProjectId: c.opts.ProjectID, - ApiId: &c.opts.ApiID, + KeyspaceId: &c.opts.KeyspaceID, Branch: c.opts.Branch, SourceType: ctrlv1.SourceType_SOURCE_TYPE_CLI_UPLOAD, EnvironmentSlug: c.opts.Environment, diff --git a/go/cmd/deploy/main.go b/go/cmd/deploy/main.go index d0d27e34dc..2fc1bfa05f 100644 --- a/go/cmd/deploy/main.go +++ b/go/cmd/deploy/main.go @@ -21,8 +21,8 @@ const ( DefaultEnvironment = "preview" // Environment variables - EnvApiID = "UNKEY_API_ID" - EnvRegistry = "UNKEY_REGISTRY" + EnvKeyspaceID = "UNKEY_KEYSPACE_ID" + EnvRegistry = "UNKEY_REGISTRY" // URL prefixes HTTPSPrefix = "https://" @@ -81,7 +81,7 @@ var stepSequence = map[string]string{ // DeployOptions contains all configuration for deployment type DeployOptions struct { ProjectID string - ApiID string + KeyspaceID string Context string Branch string DockerImage string @@ -105,7 +105,7 @@ var DeployFlags = []cli.Flag{ cli.Bool("force", "Force overwrite existing configuration file when using --init"), // Required flags (can be provided via config file) cli.String("project-id", "Project ID", cli.EnvVar("UNKEY_PROJECT_ID")), - cli.String("api-id", "API ID for API key authentication", cli.EnvVar(EnvApiID)), + cli.String("keyspace-id", "Keyspace ID for API key authentication", cli.EnvVar(EnvKeyspaceID)), // Optional flags with defaults cli.String("context", "Build context path", cli.Default(".")), cli.String("branch", "Git branch", cli.Default(DefaultBranch)), @@ -179,7 +179,7 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { // Merge config with command flags (flags take precedence) finalConfig := cfg.mergeWithFlags( cmd.String("project-id"), - cmd.String("api-id"), + cmd.String("keyspace-id"), cmd.String("context"), ) @@ -189,7 +189,7 @@ func DeployAction(ctx context.Context, cmd *cli.Command) error { } opts := DeployOptions{ - ApiID: finalConfig.ApiID, + KeyspaceID: finalConfig.KeyspaceID, ProjectID: finalConfig.ProjectID, Context: finalConfig.Context, Branch: cmd.String("branch"), diff --git a/go/gen/proto/ctrl/v1/deployment.pb.go b/go/gen/proto/ctrl/v1/deployment.pb.go index 45ee754d69..514f444e0d 100644 --- a/go/gen/proto/ctrl/v1/deployment.pb.go +++ b/go/gen/proto/ctrl/v1/deployment.pb.go @@ -135,21 +135,21 @@ func (SourceType) EnumDescriptor() ([]byte, []int) { type CreateDeploymentRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` // Source information - EnvironmentSlug string `protobuf:"bytes,3,opt,name=environment_slug,json=environmentSlug,proto3" json:"environment_slug,omitempty"` - SourceType SourceType `protobuf:"varint,4,opt,name=source_type,json=sourceType,proto3,enum=ctrl.v1.SourceType" json:"source_type,omitempty"` - DockerImage string `protobuf:"bytes,5,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` + EnvironmentSlug string `protobuf:"bytes,4,opt,name=environment_slug,json=environmentSlug,proto3" json:"environment_slug,omitempty"` + SourceType SourceType `protobuf:"varint,5,opt,name=source_type,json=sourceType,proto3,enum=ctrl.v1.SourceType" json:"source_type,omitempty"` + DockerImage string `protobuf:"bytes,6,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` // Extended git information - GitCommitSha string `protobuf:"bytes,6,opt,name=git_commit_sha,json=gitCommitSha,proto3" json:"git_commit_sha,omitempty"` // For git sources - GitCommitMessage string `protobuf:"bytes,7,opt,name=git_commit_message,json=gitCommitMessage,proto3" json:"git_commit_message,omitempty"` + GitCommitSha string `protobuf:"bytes,7,opt,name=git_commit_sha,json=gitCommitSha,proto3" json:"git_commit_sha,omitempty"` // For git sources + GitCommitMessage string `protobuf:"bytes,8,opt,name=git_commit_message,json=gitCommitMessage,proto3" json:"git_commit_message,omitempty"` // TODO: Add GitHub API integration to lookup username/avatar from email - GitCommitAuthorHandle string `protobuf:"bytes,8,opt,name=git_commit_author_handle,json=gitCommitAuthorHandle,proto3" json:"git_commit_author_handle,omitempty"` - GitCommitAuthorAvatarUrl string `protobuf:"bytes,9,opt,name=git_commit_author_avatar_url,json=gitCommitAuthorAvatarUrl,proto3" json:"git_commit_author_avatar_url,omitempty"` - GitCommitTimestamp int64 `protobuf:"varint,10,opt,name=git_commit_timestamp,json=gitCommitTimestamp,proto3" json:"git_commit_timestamp,omitempty"` // Unix epoch milliseconds - // API ID for authentication - ApiId *string `protobuf:"bytes,11,opt,name=api_id,json=apiId,proto3,oneof" json:"api_id,omitempty"` + GitCommitAuthorHandle string `protobuf:"bytes,9,opt,name=git_commit_author_handle,json=gitCommitAuthorHandle,proto3" json:"git_commit_author_handle,omitempty"` + GitCommitAuthorAvatarUrl string `protobuf:"bytes,10,opt,name=git_commit_author_avatar_url,json=gitCommitAuthorAvatarUrl,proto3" json:"git_commit_author_avatar_url,omitempty"` + GitCommitTimestamp int64 `protobuf:"varint,11,opt,name=git_commit_timestamp,json=gitCommitTimestamp,proto3" json:"git_commit_timestamp,omitempty"` // Unix epoch milliseconds + // Keyspace ID for authentication + KeyspaceId *string `protobuf:"bytes,12,opt,name=keyspace_id,json=keyspaceId,proto3,oneof" json:"keyspace_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -254,9 +254,9 @@ func (x *CreateDeploymentRequest) GetGitCommitTimestamp() int64 { return 0 } -func (x *CreateDeploymentRequest) GetApiId() string { - if x != nil && x.ApiId != nil { - return *x.ApiId +func (x *CreateDeploymentRequest) GetKeyspaceId() string { + if x != nil && x.KeyspaceId != nil { + return *x.KeyspaceId } return "" } @@ -993,23 +993,24 @@ var File_ctrl_v1_deployment_proto protoreflect.FileDescriptor const file_ctrl_v1_deployment_proto_rawDesc = "" + "\n" + - "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\xfa\x03\n" + + "\x18ctrl/v1/deployment.proto\x12\actrl.v1\"\x8f\x04\n" + "\x17CreateDeploymentRequest\x12\x1d\n" + "\n" + - "project_id\x18\x01 \x01(\tR\tprojectId\x12\x16\n" + - "\x06branch\x18\x02 \x01(\tR\x06branch\x12)\n" + - "\x10environment_slug\x18\x03 \x01(\tR\x0fenvironmentSlug\x124\n" + - "\vsource_type\x18\x04 \x01(\x0e2\x13.ctrl.v1.SourceTypeR\n" + + "project_id\x18\x02 \x01(\tR\tprojectId\x12\x16\n" + + "\x06branch\x18\x03 \x01(\tR\x06branch\x12)\n" + + "\x10environment_slug\x18\x04 \x01(\tR\x0fenvironmentSlug\x124\n" + + "\vsource_type\x18\x05 \x01(\x0e2\x13.ctrl.v1.SourceTypeR\n" + "sourceType\x12!\n" + - "\fdocker_image\x18\x05 \x01(\tR\vdockerImage\x12$\n" + - "\x0egit_commit_sha\x18\x06 \x01(\tR\fgitCommitSha\x12,\n" + - "\x12git_commit_message\x18\a \x01(\tR\x10gitCommitMessage\x127\n" + - "\x18git_commit_author_handle\x18\b \x01(\tR\x15gitCommitAuthorHandle\x12>\n" + - "\x1cgit_commit_author_avatar_url\x18\t \x01(\tR\x18gitCommitAuthorAvatarUrl\x120\n" + - "\x14git_commit_timestamp\x18\n" + - " \x01(\x03R\x12gitCommitTimestamp\x12\x1a\n" + - "\x06api_id\x18\v \x01(\tH\x00R\x05apiId\x88\x01\x01B\t\n" + - "\a_api_id\"r\n" + + "\fdocker_image\x18\x06 \x01(\tR\vdockerImage\x12$\n" + + "\x0egit_commit_sha\x18\a \x01(\tR\fgitCommitSha\x12,\n" + + "\x12git_commit_message\x18\b \x01(\tR\x10gitCommitMessage\x127\n" + + "\x18git_commit_author_handle\x18\t \x01(\tR\x15gitCommitAuthorHandle\x12>\n" + + "\x1cgit_commit_author_avatar_url\x18\n" + + " \x01(\tR\x18gitCommitAuthorAvatarUrl\x120\n" + + "\x14git_commit_timestamp\x18\v \x01(\x03R\x12gitCommitTimestamp\x12$\n" + + "\vkeyspace_id\x18\f \x01(\tH\x00R\n" + + "keyspaceId\x88\x01\x01B\x0e\n" + + "\f_keyspace_idJ\x04\b\x01\x10\x02\"r\n" + "\x18CreateDeploymentResponse\x12#\n" + "\rdeployment_id\x18\x01 \x01(\tR\fdeploymentId\x121\n" + "\x06status\x18\x02 \x01(\x0e2\x19.ctrl.v1.DeploymentStatusR\x06status\";\n" + diff --git a/go/proto/ctrl/v1/deployment.proto b/go/proto/ctrl/v1/deployment.proto index 623cd2f0d7..0230772af6 100644 --- a/go/proto/ctrl/v1/deployment.proto +++ b/go/proto/ctrl/v1/deployment.proto @@ -23,25 +23,26 @@ enum SourceType { } message CreateDeploymentRequest { - string project_id = 1; - string branch = 2; + reserved 1; // was workspace_id, now inferred from project_id + string project_id = 2; + string branch = 3; // Source information - string environment_slug = 3; + string environment_slug = 4; - SourceType source_type = 4; + SourceType source_type = 5; - string docker_image = 5; + string docker_image = 6; // Extended git information - string git_commit_sha = 6; // For git sources - string git_commit_message = 7; + string git_commit_sha = 7; // For git sources + string git_commit_message = 8; // TODO: Add GitHub API integration to lookup username/avatar from email - string git_commit_author_handle = 8; - string git_commit_author_avatar_url = 9; - int64 git_commit_timestamp = 10; // Unix epoch milliseconds + string git_commit_author_handle = 9; + string git_commit_author_avatar_url = 10; + int64 git_commit_timestamp = 11; // Unix epoch milliseconds - // API ID for authentication - optional string api_id = 11; + // Keyspace ID for authentication + optional string keyspace_id = 12; } message CreateDeploymentResponse { diff --git a/internal/proto/generated/ctrl/v1/acme_pb.ts b/internal/proto/generated/ctrl/v1/acme_pb.ts index efe6c0dd7d..739e314a5f 100644 --- a/internal/proto/generated/ctrl/v1/acme_pb.ts +++ b/internal/proto/generated/ctrl/v1/acme_pb.ts @@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/acme.proto. */ export const file_ctrl_v1_acme: GenFile = /*@__PURE__*/ - fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw", [file_google_protobuf_timestamp]); + fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQosBCgtjb20uY3RybC52MUIJQWNtZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.HandleCertificateVerificationRequest diff --git a/internal/proto/generated/ctrl/v1/build_pb.ts b/internal/proto/generated/ctrl/v1/build_pb.ts index a1757d273b..9c90b9777a 100644 --- a/internal/proto/generated/ctrl/v1/build_pb.ts +++ b/internal/proto/generated/ctrl/v1/build_pb.ts @@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/build.proto. */ export const file_ctrl_v1_build: GenFile = /*@__PURE__*/ - fileDesc("ChNjdHJsL3YxL2J1aWxkLnByb3RvEgdjdHJsLnYxImgKEkNyZWF0ZUJ1aWxkUmVxdWVzdBIUCgx3b3Jrc3BhY2VfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRISCgp2ZXJzaW9uX2lkGAMgASgJEhQKDGRvY2tlcl9pbWFnZRgEIAEoCSInChNDcmVhdGVCdWlsZFJlc3BvbnNlEhAKCGJ1aWxkX2lkGAEgASgJIiMKD0dldEJ1aWxkUmVxdWVzdBIQCghidWlsZF9pZBgBIAEoCSIxChBHZXRCdWlsZFJlc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RBVFVTX0ZBSUxFRBAEEhoKFkJVSUxEX1NUQVRVU19DQU5DRUxMRUQQBTKdAQoMQnVpbGRTZXJ2aWNlEkoKC0NyZWF0ZUJ1aWxkEhsuY3RybC52MS5DcmVhdGVCdWlsZFJlcXVlc3QaHC5jdHJsLnYxLkNyZWF0ZUJ1aWxkUmVzcG9uc2UiABJBCghHZXRCdWlsZBIYLmN0cmwudjEuR2V0QnVpbGRSZXF1ZXN0GhkuY3RybC52MS5HZXRCdWlsZFJlc3BvbnNlIgBCjAEKC2NvbS5jdHJsLnYxQgpCdWlsZFByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp]); /** * @generated from message ctrl.v1.CreateBuildRequest diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 95db0edcec..9f25c4b715 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -9,40 +9,37 @@ import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/deployment.proto. */ -export const file_ctrl_v1_deployment: GenFile = - /*@__PURE__*/ - fileDesc( - "ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi0QIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhIKCnByb2plY3RfaWQYASABKAkSDgoGYnJhbmNoGAIgASgJEhgKEGVudmlyb25tZW50X3NsdWcYAyABKAkSKAoLc291cmNlX3R5cGUYBCABKA4yEy5jdHJsLnYxLlNvdXJjZVR5cGUSFAoMZG9ja2VyX2ltYWdlGAUgASgJEhYKDmdpdF9jb21taXRfc2hhGAYgASgJEhoKEmdpdF9j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export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> & { /** - * @generated from field: string project_id = 1; + * @generated from field: string project_id = 2; */ projectId: string; /** - * @generated from field: string branch = 2; + * @generated from field: string branch = 3; */ branch: string; /** * Source information * - * @generated from field: string environment_slug = 3; + * @generated from field: string environment_slug = 4; */ environmentSlug: string; /** - * @generated from field: ctrl.v1.SourceType source_type = 4; + * @generated from field: ctrl.v1.SourceType source_type = 5; */ sourceType: SourceType; /** - * @generated from field: string docker_image = 5; + * @generated from field: string docker_image = 6; */ dockerImage: string; @@ -51,40 +48,40 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> * * For git sources * - * @generated from field: string git_commit_sha = 6; + * @generated from field: string git_commit_sha = 7; */ gitCommitSha: string; /** - * @generated from field: string git_commit_message = 7; + * @generated from field: string git_commit_message = 8; */ gitCommitMessage: string; /** * TODO: Add GitHub API integration to lookup username/avatar from email * - * @generated from field: string git_commit_author_handle = 8; + * @generated from field: string git_commit_author_handle = 9; */ gitCommitAuthorHandle: string; /** - * @generated from field: string git_commit_author_avatar_url = 9; + * @generated from field: string git_commit_author_avatar_url = 10; */ gitCommitAuthorAvatarUrl: string; /** * Unix epoch milliseconds * - * @generated from field: int64 git_commit_timestamp = 10; + * @generated from field: int64 git_commit_timestamp = 11; */ gitCommitTimestamp: bigint; /** - * API ID for authentication + * Keyspace ID for authentication * - * @generated from field: optional string api_id = 11; + * @generated from field: optional string keyspace_id = 12; */ - apiId?: string; + keyspaceId?: string; }; /** diff --git a/internal/proto/generated/ctrl/v1/openapi_pb.ts b/internal/proto/generated/ctrl/v1/openapi_pb.ts index 91dacf09ac..a83bad8042 100644 --- a/internal/proto/generated/ctrl/v1/openapi_pb.ts +++ b/internal/proto/generated/ctrl/v1/openapi_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/openapi.proto. */ export const file_ctrl_v1_openapi: GenFile = /*@__PURE__*/ - file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jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z"); /** * @generated from message ctrl.v1.GetOpenApiDiffRequest diff --git a/internal/proto/generated/ctrl/v1/service_pb.ts b/internal/proto/generated/ctrl/v1/service_pb.ts index 210e79e6e7..bb90f20d71 100644 --- a/internal/proto/generated/ctrl/v1/service_pb.ts +++ b/internal/proto/generated/ctrl/v1/service_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file ctrl/v1/service.proto. */ export const file_ctrl_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQjZaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjFiBnByb3RvMw"); + fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQo4BCgtjb20uY3RybC52MUIMU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z"); /** * @generated from message ctrl.v1.LivenessRequest diff --git a/internal/proto/generated/krane/v1/deployment_pb.ts b/internal/proto/generated/krane/v1/deployment_pb.ts index 50b4790c9c..576bb40a60 100644 --- a/internal/proto/generated/krane/v1/deployment_pb.ts +++ b/internal/proto/generated/krane/v1/deployment_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file krane/v1/deployment.proto. */ export const file_krane_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USKgoGc3RhdHVzGAEgASgOMhoua3JhbmUudjEuRGVwbG95bWVudFN0YXR1cyJKChdVcGRhdGVEZXBsb3ltZW50UmVxdWVzdBIvCgpkZXBsb3ltZW50GAEgASgLMhsua3JhbmUudjEuRGVwbG95bWVudFJlcXVlc3QiKwoYVXBkYXRlRGVwbG95bWVudFJlc3BvbnNlEg8KB3BvZF9pZHMYASADKAkiQwoXRGVsZXRlRGVwbG95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MT1lNRU5UX1NUQVRVU19QRU5ESU5HEAESHQoZREVQTE9ZTUVOVF9TVEFUVVNfUlVOTklORxACEiEKHURFUExPWU1FTlRfU1RBVFVTX1RFUk1JTkFUSU5HEAMymwIKEURlcGxveW1lbnRTZXJ2aWNlElkKEENyZWF0ZURlcGxveW1lbnQSIS5rcmFuZS52MS5DcmVhdGVEZXBsb3ltZW50UmVxdWVzdBoiLmtyYW5lLnYxLkNyZWF0ZURlcGxveW1lbnRSZXNwb25zZRJQCg1HZXREZXBsb3ltZW50Eh4ua3JhbmUudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQpgBCgxjb20ua3JhbmUudjFCD0RlcGxveW1lbnRQcm90b1ABWjZnaXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL2tyYW5lL3YxO2tyYW5ldjGiAgNLWFiqAghLcmFuZS5WMcoCCEtyYW5lXFYx4gIUS3JhbmVcVjFcR1BCTWV0YWRhdGHqAglLcmFuZTo6VjFiBnByb3RvMw"); /** * @generated from message krane.v1.DeploymentRequest diff --git a/internal/proto/generated/partition/v1/gateway_pb.ts b/internal/proto/generated/partition/v1/gateway_pb.ts index fb9a92c9ae..625e9afda5 100644 --- a/internal/proto/generated/partition/v1/gateway_pb.ts +++ b/internal/proto/generated/partition/v1/gateway_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file partition/v1/gateway.proto. */ export const file_partition_v1_gateway: GenFile = /*@__PURE__*/ - fileDesc("ChpwYXJ0aXRpb24vdjEvZ2F0ZXdheS5wcm90bxIMcGFydGl0aW9uLnYxIp4CCg1HYXRld2F5Q29uZmlnEiYKB3Byb2pl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QFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCsQEKEGNvbS5wYXJ0aXRpb24udjFCDEdhdGV3YXlQcm90b1ABWj5naXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL3BhcnRpdGlvbi92MTtwYXJ0aXRpb252MaICA1BYWKoCDFBhcnRpdGlvbi5WMcoCDFBhcnRpdGlvblxWMeICGFBhcnRpdGlvblxWMVxHUEJNZXRhZGF0YeoCDVBhcnRpdGlvbjo6VjFiBnByb3RvMw"); /** * GatewayConfig contains all configuration needed for a hostname diff --git a/internal/proto/generated/vault/v1/object_pb.ts b/internal/proto/generated/vault/v1/object_pb.ts index 0aa3d990b7..4f9cf36bc0 100644 --- a/internal/proto/generated/vault/v1/object_pb.ts +++ b/internal/proto/generated/vault/v1/object_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file vault/v1/object.proto. */ export const file_vault_v1_object: GenFile = /*@__PURE__*/ - fileDesc("ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj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VmF1bHQuVjHKAghWYXVsdFxWMeICFFZhdWx0XFYxXEdQQk1ldGFkYXRh6gIJVmF1bHQ6OlYxYgZwcm90bzM"); /** * @generated from message vault.v1.DataEncryptionKey diff --git a/internal/proto/generated/vault/v1/service_pb.ts b/internal/proto/generated/vault/v1/service_pb.ts index f9a8810dc6..f04bf7277a 100644 --- a/internal/proto/generated/vault/v1/service_pb.ts +++ b/internal/proto/generated/vault/v1/service_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file vault/v1/service.proto. */ export const file_vault_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChZ2YXVsdC92MS9zZXJ2aWNlLnByb3RvEgh2YXVsdC52MSIRCg9MaXZlbmVzc1JlcXVlc3QiIgoQTGl2ZW5lc3NSZXNwb25zZRIOCgZzdGF0dXMYASABKAkiLwoORW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIMCgRkYXRhGAIgASgJIjQKD0VuY3J5cHRSZXNwb25zZRIRCgllbmNyeXB0ZWQYASABKAkSDgoGa2V5X2lkGAIgASgJIjMKEkVuY3J5cHRCdWxrUmVxdWVzdBIPCgdrZXlyaW5nGAEgASgJEgwKBGRhdGEYAiADKAkiQwoTRW5jcnlwdEJ1bGtSZXNwb25zZRIsCgllbmNyeXB0ZWQYASADKAsyGS52YXVsdC52MS5FbmNyeXB0UmVzcG9uc2UiNAoORGVjcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkiJAoPRGVjcnlwdFJlc3BvbnNlEhEKCXBsYWludGV4dBgBIAEoCSIjChBDcmVhdGVERUtSZXF1ZXN0Eg8KB2tleXJpbmcYASABKAkiIwoRQ3JlYXRlREVLUmVzcG9uc2USDgoGa2V5X2lkGAEgASgJIlYKEFJlRW5jcnlwdFJlcXVlc3QSDwoHa2V5cmluZxgBIAEoCRIRCgllbmNyeXB0ZWQYAiABKAkSEwoGa2V5X2lkG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x0LnYxLkVuY3J5cHRSZXNwb25zZSIAEkwKC0VuY3J5cHRCdWxrEhwudmF1bHQudjEuRW5jcnlwdEJ1bGtSZXF1ZXN0Gh0udmF1bHQudjEuRW5jcnlwdEJ1bGtSZXNwb25zZSIAEkAKB0RlY3J5cHQSGC52YXVsdC52MS5EZWNyeXB0UmVxdWVzdBoZLnZhdWx0LnYxLkRlY3J5cHRSZXNwb25zZSIAEkYKCVJlRW5jcnlwdBIaLnZhdWx0LnYxLlJlRW5jcnlwdFJlcXVlc3QaGy52YXVsdC52MS5SZUVuY3J5cHRSZXNwb25zZSIAElIKDVJlRW5jcnlwdERFS3MSHi52YXVsdC52MS5SZUVuY3J5cHRERUtzUmVxdWVzdBofLnZhdWx0LnYxLlJlRW5jcnlwdERFS3NSZXNwb25zZSIAQpUBCgxjb20udmF1bHQudjFCDFNlcnZpY2VQcm90b1ABWjZnaXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL3ZhdWx0L3YxO3ZhdWx0djGiAgNWWFiqAghWYXVsdC5WMcoCCFZhdWx0XFYx4gIUVmF1bHRcVjFcR1BCTWV0YWRhdGHqAglWYXVsdDo6VjFiBnByb3RvMw"); /** * @generated from message vault.v1.LivenessRequest From ac5e200f78c30f8d092009cd81206d65130fee57 Mon Sep 17 00:00:00 2001 From: Meg Stepp Date: Mon, 6 Oct 2025 15:25:56 -0400 Subject: [PATCH 11/12] fix underscore --- go/cmd/deploy/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/cmd/deploy/init.go b/go/cmd/deploy/init.go index aeac222eb4..c294619ea1 100644 --- a/go/cmd/deploy/init.go +++ b/go/cmd/deploy/init.go @@ -74,7 +74,7 @@ func printInitNextSteps() { fmt.Printf(" unkey deploy\n") fmt.Printf("\n") fmt.Printf("Or override specific values:\n") - fmt.Printf(" unkey deploy --project_id=proj_different\n") + fmt.Printf(" unkey deploy --project-id=proj_different\n") fmt.Printf(" unkey deploy --context=./other-app\n") } From 5f9703efb75ed13f98db3da7dbb5d11f330318db Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:27:26 +0000 Subject: [PATCH 12/12] [autofix.ci] apply automated fixes --- internal/proto/generated/ctrl/v1/acme_pb.ts | 56 +++++++------ internal/proto/generated/ctrl/v1/build_pb.ts | 36 +++++---- .../proto/generated/ctrl/v1/deployment_pb.ts | 69 +++++++++------- .../proto/generated/ctrl/v1/openapi_pb.ts | 33 ++++---- .../proto/generated/ctrl/v1/service_pb.ts | 24 +++--- .../proto/generated/krane/v1/deployment_pb.ts | 55 +++++++------ .../generated/partition/v1/gateway_pb.ts | 28 ++++--- .../proto/generated/vault/v1/object_pb.ts | 25 +++--- .../proto/generated/vault/v1/service_pb.ts | 78 +++++++++++-------- 9 files changed, 236 insertions(+), 168 deletions(-) diff --git a/internal/proto/generated/ctrl/v1/acme_pb.ts b/internal/proto/generated/ctrl/v1/acme_pb.ts index 739e314a5f..2a9834862a 100644 --- a/internal/proto/generated/ctrl/v1/acme_pb.ts +++ b/internal/proto/generated/ctrl/v1/acme_pb.ts @@ -2,54 +2,62 @@ // @generated from file ctrl/v1/acme.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/acme.proto. */ -export const file_ctrl_v1_acme: GenFile = /*@__PURE__*/ - fileDesc("ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQosBCgtjb20uY3RybC52MUIJQWNtZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp]); +export const file_ctrl_v1_acme: GenFile = + /*@__PURE__*/ + fileDesc( + "ChJjdHJsL3YxL2FjbWUucHJvdG8SB2N0cmwudjEiRQokSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXF1ZXN0Eg4KBmRvbWFpbhgBIAEoCRINCgV0b2tlbhgCIAEoCSI2CiVIYW5kbGVDZXJ0aWZpY2F0ZVZlcmlmaWNhdGlvblJlc3BvbnNlEg0KBXRva2VuGAEgASgJMpABCgtBY21lU2VydmljZRKAAQodSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb24SLS5jdHJsLnYxLkhhbmRsZUNlcnRpZmljYXRlVmVyaWZpY2F0aW9uUmVxdWVzdBouLmN0cmwudjEuSGFuZGxlQ2VydGlmaWNhdGVWZXJpZmljYXRpb25SZXNwb25zZSIAQosBCgtjb20uY3RybC52MUIJQWNtZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", + [file_google_protobuf_timestamp], + ); /** * @generated from message ctrl.v1.HandleCertificateVerificationRequest */ -export type HandleCertificateVerificationRequest = Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { - /** - * @generated from field: string domain = 1; - */ - domain: string; +export type HandleCertificateVerificationRequest = + Message<"ctrl.v1.HandleCertificateVerificationRequest"> & { + /** + * @generated from field: string domain = 1; + */ + domain: string; - /** - * @generated from field: string token = 2; - */ - token: string; -}; + /** + * @generated from field: string token = 2; + */ + token: string; + }; /** * Describes the message ctrl.v1.HandleCertificateVerificationRequest. * Use `create(HandleCertificateVerificationRequestSchema)` to create a new message. */ -export const HandleCertificateVerificationRequestSchema: GenMessage = /*@__PURE__*/ +export const HandleCertificateVerificationRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 0); /** * @generated from message ctrl.v1.HandleCertificateVerificationResponse */ -export type HandleCertificateVerificationResponse = Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { - /** - * @generated from field: string token = 1; - */ - token: string; -}; +export type HandleCertificateVerificationResponse = + Message<"ctrl.v1.HandleCertificateVerificationResponse"> & { + /** + * @generated from field: string token = 1; + */ + token: string; + }; /** * Describes the message ctrl.v1.HandleCertificateVerificationResponse. * Use `create(HandleCertificateVerificationResponseSchema)` to create a new message. */ -export const HandleCertificateVerificationResponseSchema: GenMessage = /*@__PURE__*/ +export const HandleCertificateVerificationResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_acme, 1); /** @@ -63,7 +71,5 @@ export const AcmeService: GenService<{ methodKind: "unary"; input: typeof HandleCertificateVerificationRequestSchema; output: typeof HandleCertificateVerificationResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_acme, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_acme, 0); diff --git a/internal/proto/generated/ctrl/v1/build_pb.ts b/internal/proto/generated/ctrl/v1/build_pb.ts index 9c90b9777a..2f41138a1d 100644 --- a/internal/proto/generated/ctrl/v1/build_pb.ts +++ b/internal/proto/generated/ctrl/v1/build_pb.ts @@ -2,17 +2,21 @@ // @generated from file ctrl/v1/build.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/build.proto. */ -export const file_ctrl_v1_build: GenFile = /*@__PURE__*/ - fileDesc("ChNjdHJsL3YxL2J1aWxkLnByb3RvEgdjdHJsLnYxImgKEkNyZWF0ZUJ1aWxkUmVxdWVzdBIUCgx3b3Jrc3BhY2VfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRISCgp2ZXJzaW9uX2lkGAMgASgJEhQKDGRvY2tlcl9pbWFnZRgEIAEoCSInChNDcmVhdGVCdWlsZFJlc3BvbnNlEhAKCGJ1aWxkX2lkGAEgASgJIiMKD0dldEJ1aWxkUmVxdWVzdBIQCghidWlsZF9pZBgBIAEoCSIxChBHZXRCdWlsZFJlc3BvbnNlEh0KBWJ1aWxkGAEgASgLMg4uY3RybC52MS5CdWlsZCLpAgoFQnVpbGQSCgoCaWQYASABKAkSFAoMd29ya3NwYWNlX2lkGAIgASgJEhIKCnByb2plY3RfaWQYAyABKAkSEgoKdmVyc2lvbl9pZBgEIAEoCRIkCgZzdGF0dXMYBSABKA4yFC5jdHJsLnYxLkJ1aWxkU3RhdHVzEhUKDWVycm9yX21lc3NhZ2UYBiABKAkSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKc3Rhc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ZUJ1aWxkUmVzcG9uc2UiABJBCghHZXRCdWlsZBIYLmN0cmwudjEuR2V0QnVpbGRSZXF1ZXN0GhkuY3RybC52MS5HZXRCdWlsZFJlc3BvbnNlIgBCjAEKC2NvbS5jdHJsLnYxQgpCdWlsZFByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", + [file_google_protobuf_timestamp], + ); /** * @generated from message ctrl.v1.CreateBuildRequest @@ -43,7 +47,8 @@ export type CreateBuildRequest = Message<"ctrl.v1.CreateBuildRequest"> & { * Describes the message ctrl.v1.CreateBuildRequest. * Use `create(CreateBuildRequestSchema)` to create a new message. */ -export const CreateBuildRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateBuildRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 0); /** @@ -60,7 +65,8 @@ export type CreateBuildResponse = Message<"ctrl.v1.CreateBuildResponse"> & { * Describes the message ctrl.v1.CreateBuildResponse. * Use `create(CreateBuildResponseSchema)` to create a new message. */ -export const CreateBuildResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateBuildResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 1); /** @@ -77,7 +83,8 @@ export type GetBuildRequest = Message<"ctrl.v1.GetBuildRequest"> & { * Describes the message ctrl.v1.GetBuildRequest. * Use `create(GetBuildRequestSchema)` to create a new message. */ -export const GetBuildRequestSchema: GenMessage = /*@__PURE__*/ +export const GetBuildRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 2); /** @@ -94,7 +101,8 @@ export type GetBuildResponse = Message<"ctrl.v1.GetBuildResponse"> & { * Describes the message ctrl.v1.GetBuildResponse. * Use `create(GetBuildResponseSchema)` to create a new message. */ -export const GetBuildResponseSchema: GenMessage = /*@__PURE__*/ +export const GetBuildResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 3); /** @@ -171,8 +179,7 @@ export type Build = Message<"ctrl.v1.Build"> & { * Describes the message ctrl.v1.Build. * Use `create(BuildSchema)` to create a new message. */ -export const BuildSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_ctrl_v1_build, 4); +export const BuildSchema: GenMessage = /*@__PURE__*/ messageDesc(file_ctrl_v1_build, 4); /** * Build status enum @@ -214,7 +221,8 @@ export enum BuildStatus { /** * Describes the enum ctrl.v1.BuildStatus. */ -export const BuildStatusSchema: GenEnum = /*@__PURE__*/ +export const BuildStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_build, 0); /** @@ -230,7 +238,7 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof CreateBuildRequestSchema; output: typeof CreateBuildResponseSchema; - }, + }; /** * Get build details * @@ -240,7 +248,5 @@ export const BuildService: GenService<{ methodKind: "unary"; input: typeof GetBuildRequestSchema; output: typeof GetBuildResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_build, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_build, 0); diff --git a/internal/proto/generated/ctrl/v1/deployment_pb.ts b/internal/proto/generated/ctrl/v1/deployment_pb.ts index 9f25c4b715..069929c0af 100644 --- a/internal/proto/generated/ctrl/v1/deployment_pb.ts +++ b/internal/proto/generated/ctrl/v1/deployment_pb.ts @@ -2,15 +2,18 @@ // @generated from file ctrl/v1/deployment.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/deployment.proto. */ -export const file_ctr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vdGVSZXNwb25zZSIAQpEBCgtjb20uY3RybC52MUIPRGVwbG95bWVudFByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z"); +export const file_ctrl_v1_deployment: GenFile = + /*@__PURE__*/ + fileDesc( + "ChhjdHJsL3YxL2RlcGxveW1lbnQucHJvdG8SB2N0cmwudjEi4QIKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0EhIKCnByb2plY3RfaWQYAiABKAkSDgoGYnJhbmNoGAMgASgJEhgKEGVudmlyb25tZW50X3NsdWcYBCABKAkSKAoLc291cmNlX3R5cGUYBSABKA4yEy5jdHJsLnYxLlNvdXJjZVR5cGUSFAoMZG9ja2VyX2ltYWdlGAYgASgJEhYKDmdpdF9jb21taXRfc2hhGAcgASgJEhoKEmdpdF9jb21taXRfbWVzc2FnZRgIIAEoCRIgChhnaXRfY29tbWl0X2F1dGhvcl9oYW5kbGUYCSABKAkSJAocZ2l0X2NvbW1pdF9hdXRob3JfYXZhdGFyX3VybBgKIAEoCRIcChRnaXRfY29tbWl0X3RpbWVzdGFtcBgLIAEoAxIYCgtrZXlzcGFjZV9pZBgMIAEoCUgAiAEBQg4KDF9rZXlzcGFjZV9pZEoECAEQAiJcChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USFQoNZGVwbG95bWVudF9pZBgBIAEoCRIpCgZzdGF0dXMYAiABKA4yGS5jdHJsLnYxLkRlcGxveW1lbnRTdGF0dXMiLQoUR2V0RGVwbG95bWVudFJlcXVlc3QSFQoNZGVwbG95bWVudF9pZBgBIAEoCSJAChVHZXREZXBsb3ltZW50UmVzcG9uc2USJwoKZGVwbG95bWVudBgBIAEoCzITLmN0cmwudjEuRGVwbG95bWVudCKIBQoKRGVwbG95bWVudBIKC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nYxLkdldERlcGxveW1lbnRSZXF1ZXN0Gh4uY3RybC52MS5HZXREZXBsb3ltZW50UmVzcG9uc2UiABJBCghSb2xsYmFjaxIYLmN0cmwudjEuUm9sbGJhY2tSZXF1ZXN0GhkuY3RybC52MS5Sb2xsYmFja1Jlc3BvbnNlIgASPgoHUHJvbW90ZRIXLmN0cmwudjEuUHJvbW90ZVJlcXVlc3QaGC5jdHJsLnYxLlByb21vdGVSZXNwb25zZSIAQpEBCgtjb20uY3RybC52MUIPRGVwbG95bWVudFByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", + ); /** * @generated from message ctrl.v1.CreateDeploymentRequest @@ -88,7 +91,8 @@ export type CreateDeploymentRequest = Message<"ctrl.v1.CreateDeploymentRequest"> * Describes the message ctrl.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 0); /** @@ -112,7 +116,8 @@ export type CreateDeploymentResponse = Message<"ctrl.v1.CreateDeploymentResponse * Describes the message ctrl.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 1); /** @@ -129,7 +134,8 @@ export type GetDeploymentRequest = Message<"ctrl.v1.GetDeploymentRequest"> & { * Describes the message ctrl.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 2); /** @@ -146,7 +152,8 @@ export type GetDeploymentResponse = Message<"ctrl.v1.GetDeploymentResponse"> & { * Describes the message ctrl.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 3); /** @@ -282,7 +289,8 @@ export type Deployment = Message<"ctrl.v1.Deployment"> & { * Describes the message ctrl.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = /*@__PURE__*/ +export const DeploymentSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 4); /** @@ -314,7 +322,8 @@ export type DeploymentStep = Message<"ctrl.v1.DeploymentStep"> & { * Describes the message ctrl.v1.DeploymentStep. * Use `create(DeploymentStepSchema)` to create a new message. */ -export const DeploymentStepSchema: GenMessage = /*@__PURE__*/ +export const DeploymentStepSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 5); /** @@ -362,7 +371,8 @@ export type Topology = Message<"ctrl.v1.Topology"> & { * Describes the message ctrl.v1.Topology. * Use `create(TopologySchema)` to create a new message. */ -export const TopologySchema: GenMessage = /*@__PURE__*/ +export const TopologySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 6); /** @@ -389,7 +399,8 @@ export type RegionalConfig = Message<"ctrl.v1.RegionalConfig"> & { * Describes the message ctrl.v1.RegionalConfig. * Use `create(RegionalConfigSchema)` to create a new message. */ -export const RegionalConfigSchema: GenMessage = /*@__PURE__*/ +export const RegionalConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 7); /** @@ -411,20 +422,21 @@ export type RollbackRequest = Message<"ctrl.v1.RollbackRequest"> & { * Describes the message ctrl.v1.RollbackRequest. * Use `create(RollbackRequestSchema)` to create a new message. */ -export const RollbackRequestSchema: GenMessage = /*@__PURE__*/ +export const RollbackRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 8); /** * @generated from message ctrl.v1.RollbackResponse */ -export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & { -}; +export type RollbackResponse = Message<"ctrl.v1.RollbackResponse"> & {}; /** * Describes the message ctrl.v1.RollbackResponse. * Use `create(RollbackResponseSchema)` to create a new message. */ -export const RollbackResponseSchema: GenMessage = /*@__PURE__*/ +export const RollbackResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 9); /** @@ -441,20 +453,21 @@ export type PromoteRequest = Message<"ctrl.v1.PromoteRequest"> & { * Describes the message ctrl.v1.PromoteRequest. * Use `create(PromoteRequestSchema)` to create a new message. */ -export const PromoteRequestSchema: GenMessage = /*@__PURE__*/ +export const PromoteRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 10); /** * @generated from message ctrl.v1.PromoteResponse */ -export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & { -}; +export type PromoteResponse = Message<"ctrl.v1.PromoteResponse"> & {}; /** * Describes the message ctrl.v1.PromoteResponse. * Use `create(PromoteResponseSchema)` to create a new message. */ -export const PromoteResponseSchema: GenMessage = /*@__PURE__*/ +export const PromoteResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_deployment, 11); /** @@ -502,7 +515,8 @@ export enum DeploymentStatus { /** * Describes the enum ctrl.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 0); /** @@ -530,7 +544,8 @@ export enum SourceType { /** * Describes the enum ctrl.v1.SourceType. */ -export const SourceTypeSchema: GenEnum = /*@__PURE__*/ +export const SourceTypeSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_ctrl_v1_deployment, 1); /** @@ -546,7 +561,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }, + }; /** * Get deployment details * @@ -556,7 +571,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }, + }; /** * Reassign the sticky domains of the projects live deployment to the target deployment * @@ -566,7 +581,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof RollbackRequestSchema; output: typeof RollbackResponseSchema; - }, + }; /** * Promote the deployment to the live environment * @@ -576,7 +591,5 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof PromoteRequestSchema; output: typeof PromoteResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_deployment, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_deployment, 0); diff --git a/internal/proto/generated/ctrl/v1/openapi_pb.ts b/internal/proto/generated/ctrl/v1/openapi_pb.ts index a83bad8042..2a83231830 100644 --- a/internal/proto/generated/ctrl/v1/openapi_pb.ts +++ b/internal/proto/generated/ctrl/v1/openapi_pb.ts @@ -2,15 +2,18 @@ // @generated from file ctrl/v1/openapi.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/openapi.proto. */ -export const file_ctrl_v1_openapi: GenFile = /*@__PURE__*/ - fileDesc("ChVjdHJsL3YxL29wZW5hcGkucHJvdG8SB2N0cmwudjEiTQoVR2V0T3BlbkFwaURpZmZSZXF1ZXN0EhkKEW9sZF9kZXBsb3ltZW50X2lkGAEgASgJEhkKEW5ld19kZXBsb3ltZW50X2lkGAIgASgJIo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i5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", + ); /** * @generated from message ctrl.v1.GetOpenApiDiffRequest @@ -31,7 +34,8 @@ export type GetOpenApiDiffRequest = Message<"ctrl.v1.GetOpenApiDiffRequest"> & { * Describes the message ctrl.v1.GetOpenApiDiffRequest. * Use `create(GetOpenApiDiffRequestSchema)` to create a new message. */ -export const GetOpenApiDiffRequestSchema: GenMessage = /*@__PURE__*/ +export const GetOpenApiDiffRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 0); /** @@ -73,7 +77,8 @@ export type ChangelogEntry = Message<"ctrl.v1.ChangelogEntry"> & { * Describes the message ctrl.v1.ChangelogEntry. * Use `create(ChangelogEntrySchema)` to create a new message. */ -export const ChangelogEntrySchema: GenMessage = /*@__PURE__*/ +export const ChangelogEntrySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 1); /** @@ -95,7 +100,8 @@ export type DiffSummary = Message<"ctrl.v1.DiffSummary"> & { * Describes the message ctrl.v1.DiffSummary. * Use `create(DiffSummarySchema)` to create a new message. */ -export const DiffSummarySchema: GenMessage = /*@__PURE__*/ +export const DiffSummarySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 2); /** @@ -122,7 +128,8 @@ export type DiffDetails = Message<"ctrl.v1.DiffDetails"> & { * Describes the message ctrl.v1.DiffDetails. * Use `create(DiffDetailsSchema)` to create a new message. */ -export const DiffDetailsSchema: GenMessage = /*@__PURE__*/ +export const DiffDetailsSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 3); /** @@ -149,7 +156,8 @@ export type DiffCounts = Message<"ctrl.v1.DiffCounts"> & { * Describes the message ctrl.v1.DiffCounts. * Use `create(DiffCountsSchema)` to create a new message. */ -export const DiffCountsSchema: GenMessage = /*@__PURE__*/ +export const DiffCountsSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 4); /** @@ -176,7 +184,8 @@ export type GetOpenApiDiffResponse = Message<"ctrl.v1.GetOpenApiDiffResponse"> & * Describes the message ctrl.v1.GetOpenApiDiffResponse. * Use `create(GetOpenApiDiffResponseSchema)` to create a new message. */ -export const GetOpenApiDiffResponseSchema: GenMessage = /*@__PURE__*/ +export const GetOpenApiDiffResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_openapi, 5); /** @@ -190,7 +199,5 @@ export const OpenApiService: GenService<{ methodKind: "unary"; input: typeof GetOpenApiDiffRequestSchema; output: typeof GetOpenApiDiffResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_openapi, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_openapi, 0); diff --git a/internal/proto/generated/ctrl/v1/service_pb.ts b/internal/proto/generated/ctrl/v1/service_pb.ts index bb90f20d71..dc1c3038c4 100644 --- a/internal/proto/generated/ctrl/v1/service_pb.ts +++ b/internal/proto/generated/ctrl/v1/service_pb.ts @@ -2,27 +2,30 @@ // @generated from file ctrl/v1/service.proto (package ctrl.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file ctrl/v1/service.proto. */ -export const file_ctrl_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQo4BCgtjb20uY3RybC52MUIMU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z"); +export const file_ctrl_v1_service: GenFile = + /*@__PURE__*/ + fileDesc( + "ChVjdHJsL3YxL3NlcnZpY2UucHJvdG8SB2N0cmwudjEiEQoPTGl2ZW5lc3NSZXF1ZXN0IkgKEExpdmVuZXNzUmVzcG9uc2USDgoGc3RhdHVzGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSEwoLaW5zdGFuY2VfaWQYAyABKAkyUAoLQ3RybFNlcnZpY2USQQoITGl2ZW5lc3MSGC5jdHJsLnYxLkxpdmVuZXNzUmVxdWVzdBoZLmN0cmwudjEuTGl2ZW5lc3NSZXNwb25zZSIAQo4BCgtjb20uY3RybC52MUIMU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vdW5rZXllZC91bmtleS9nby9nZW4vcHJvdG8vY3RybC92MTtjdHJsdjGiAgNDWFiqAgdDdHJsLlYxygIHQ3RybFxWMeICE0N0cmxcVjFcR1BCTWV0YWRhdGHqAghDdHJsOjpWMWIGcHJvdG8z", + ); /** * @generated from message ctrl.v1.LivenessRequest */ -export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & { -}; +export type LivenessRequest = Message<"ctrl.v1.LivenessRequest"> & {}; /** * Describes the message ctrl.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 0); /** @@ -49,7 +52,8 @@ export type LivenessResponse = Message<"ctrl.v1.LivenessResponse"> & { * Describes the message ctrl.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_ctrl_v1_service, 1); /** @@ -63,7 +67,5 @@ export const CtrlService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_ctrl_v1_service, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_ctrl_v1_service, 0); diff --git a/internal/proto/generated/krane/v1/deployment_pb.ts b/internal/proto/generated/krane/v1/deployment_pb.ts index 576bb40a60..752e9fc70b 100644 --- a/internal/proto/generated/krane/v1/deployment_pb.ts +++ b/internal/proto/generated/krane/v1/deployment_pb.ts @@ -2,15 +2,18 @@ // @generated from file krane/v1/deployment.proto (package krane.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file krane/v1/deployment.proto. */ -export const file_krane_v1_deployment: GenFile = /*@__PURE__*/ - fileDesc("ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGx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XBsb3ltZW50Eh4ua3JhbmUudjEuR2V0RGVwbG95bWVudFJlcXVlc3QaHy5rcmFuZS52MS5HZXREZXBsb3ltZW50UmVzcG9uc2USWQoQRGVsZXRlRGVwbG95bWVudBIhLmtyYW5lLnYxLkRlbGV0ZURlcGxveW1lbnRSZXF1ZXN0GiIua3JhbmUudjEuRGVsZXRlRGVwbG95bWVudFJlc3BvbnNlQpgBCgxjb20ua3JhbmUudjFCD0RlcGxveW1lbnRQcm90b1ABWjZnaXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL2tyYW5lL3YxO2tyYW5ldjGiAgNLWFiqAghLcmFuZS5WMcoCCEtyYW5lXFYx4gIUS3JhbmVcVjFcR1BCTWV0YWRhdGHqAglLcmFuZTo6VjFiBnByb3RvMw"); +export const file_krane_v1_deployment: GenFile = + /*@__PURE__*/ + fileDesc( + "ChlrcmFuZS92MS9kZXBsb3ltZW50LnByb3RvEghrcmFuZS52MSKPAQoRRGVwbG95bWVudFJlcXVlc3QSEQoJbmFtZXNwYWNlGAEgASgJEhUKDWRlcGxveW1lbnRfaWQYAiABKAkSDQoFaW1hZ2UYAyABKAkSEAoIcmVwbGljYXMYBCABKA0SFgoOY3B1X21pbGxpY29yZXMYBSABKA0SFwoPbWVtb3J5X3NpemVfbWliGAYgASgEIkoKF0NyZWF0ZURlcGxveW1lbnRSZXF1ZXN0Ei8KCmRlcGxveW1lbnQYASABKAsyGy5rcmFuZS52MS5EZXBsb3ltZW50UmVxdWVzdCJGChhDcmVhdGVEZXBsb3ltZW50UmVzcG9uc2USKgoGc3RhdHVzGAEgASgOMhoua3JhbmUudjEuRGVwbG95bWVudFN0YXR1cyJKChdVcGRhdGVEZXBsb3ltZW50UmVxdWVzdBIvCgpkZXBsb3ltZW50GAEgASgLMhsua3JhbmUudjEuRGVwbG95bWVudFJlcXVlc3QiKwoYVXBkYXRlRGVwbG95bWVudFJlc3BvbnNlEg8KB3BvZF9pZHMYASADKAkiQw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2VuL3Byb3RvL2tyYW5lL3YxO2tyYW5ldjGiAgNLWFiqAghLcmFuZS5WMcoCCEtyYW5lXFYx4gIUS3JhbmVcVjFcR1BCTWV0YWRhdGHqAglLcmFuZTo6VjFiBnByb3RvMw", + ); /** * @generated from message krane.v1.DeploymentRequest @@ -51,7 +54,8 @@ export type DeploymentRequest = Message<"krane.v1.DeploymentRequest"> & { * Describes the message krane.v1.DeploymentRequest. * Use `create(DeploymentRequestSchema)` to create a new message. */ -export const DeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const DeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 0); /** @@ -68,7 +72,8 @@ export type CreateDeploymentRequest = Message<"krane.v1.CreateDeploymentRequest" * Describes the message krane.v1.CreateDeploymentRequest. * Use `create(CreateDeploymentRequestSchema)` to create a new message. */ -export const CreateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 1); /** @@ -85,7 +90,8 @@ export type CreateDeploymentResponse = Message<"krane.v1.CreateDeploymentRespons * Describes the message krane.v1.CreateDeploymentResponse. * Use `create(CreateDeploymentResponseSchema)` to create a new message. */ -export const CreateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 2); /** @@ -102,7 +108,8 @@ export type UpdateDeploymentRequest = Message<"krane.v1.UpdateDeploymentRequest" * Describes the message krane.v1.UpdateDeploymentRequest. * Use `create(UpdateDeploymentRequestSchema)` to create a new message. */ -export const UpdateDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const UpdateDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 3); /** @@ -119,7 +126,8 @@ export type UpdateDeploymentResponse = Message<"krane.v1.UpdateDeploymentRespons * Describes the message krane.v1.UpdateDeploymentResponse. * Use `create(UpdateDeploymentResponseSchema)` to create a new message. */ -export const UpdateDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const UpdateDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 4); /** @@ -141,20 +149,21 @@ export type DeleteDeploymentRequest = Message<"krane.v1.DeleteDeploymentRequest" * Describes the message krane.v1.DeleteDeploymentRequest. * Use `create(DeleteDeploymentRequestSchema)` to create a new message. */ -export const DeleteDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const DeleteDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 5); /** * @generated from message krane.v1.DeleteDeploymentResponse */ -export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & { -}; +export type DeleteDeploymentResponse = Message<"krane.v1.DeleteDeploymentResponse"> & {}; /** * Describes the message krane.v1.DeleteDeploymentResponse. * Use `create(DeleteDeploymentResponseSchema)` to create a new message. */ -export const DeleteDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const DeleteDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 6); /** @@ -176,7 +185,8 @@ export type GetDeploymentRequest = Message<"krane.v1.GetDeploymentRequest"> & { * Describes the message krane.v1.GetDeploymentRequest. * Use `create(GetDeploymentRequestSchema)` to create a new message. */ -export const GetDeploymentRequestSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 7); /** @@ -193,7 +203,8 @@ export type GetDeploymentResponse = Message<"krane.v1.GetDeploymentResponse"> & * Describes the message krane.v1.GetDeploymentResponse. * Use `create(GetDeploymentResponseSchema)` to create a new message. */ -export const GetDeploymentResponseSchema: GenMessage = /*@__PURE__*/ +export const GetDeploymentResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 8); /** @@ -220,7 +231,8 @@ export type Instance = Message<"krane.v1.Instance"> & { * Describes the message krane.v1.Instance. * Use `create(InstanceSchema)` to create a new message. */ -export const InstanceSchema: GenMessage = /*@__PURE__*/ +export const InstanceSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_krane_v1_deployment, 9); /** @@ -257,7 +269,8 @@ export enum DeploymentStatus { /** * Describes the enum krane.v1.DeploymentStatus. */ -export const DeploymentStatusSchema: GenEnum = /*@__PURE__*/ +export const DeploymentStatusSchema: GenEnum = + /*@__PURE__*/ enumDesc(file_krane_v1_deployment, 0); /** @@ -273,7 +286,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof CreateDeploymentRequestSchema; output: typeof CreateDeploymentResponseSchema; - }, + }; /** * GetDeployment * @@ -283,7 +296,7 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof GetDeploymentRequestSchema; output: typeof GetDeploymentResponseSchema; - }, + }; /** * DeleteDeployment * @@ -293,7 +306,5 @@ export const DeploymentService: GenService<{ methodKind: "unary"; input: typeof DeleteDeploymentRequestSchema; output: typeof DeleteDeploymentResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_krane_v1_deployment, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_krane_v1_deployment, 0); diff --git a/internal/proto/generated/partition/v1/gateway_pb.ts b/internal/proto/generated/partition/v1/gateway_pb.ts index 625e9afda5..b21e660f4d 100644 --- a/internal/proto/generated/partition/v1/gateway_pb.ts +++ b/internal/proto/generated/partition/v1/gateway_pb.ts @@ -2,15 +2,18 @@ // @generated from file partition/v1/gateway.proto (package partition.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file partition/v1/gateway.proto. */ -export const file_partition_v1_gateway: GenFile = /*@__PURE__*/ - fileDesc("ChpwYXJ0aXRpb24vdjEvZ2F0ZXdhe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jdBIsCgpkZXBsb3ltZW50GAIgASgLMhgucGFydGl0aW9uLnYxLkRlcGxveW1lbnQSHQoDdm1zGAMgAygLMhAucGFydGl0aW9uLnYxLlZNEjIKC2F1dGhfY29uZmlnGAQgASgLMhgucGFydGl0aW9uLnYxLkF1dGhDb25maWdIAIgBARI+ChF2YWxpZGF0aW9uX2NvbmZpZxgFIAEoCzIeLnBhcnRpdGlvbi52MS5WYWxpZGF0aW9uQ29uZmlnSAGIAQFCDgoMX2F1dGhfY29uZmlnQhQKEl92YWxpZGF0aW9uX2NvbmZpZyIsCgpEZXBsb3ltZW50EgoKAmlkGAEgASgJEhIKCmlzX2VuYWJsZWQYAiABKAgiKQoHUHJvamVjdBIKCgJpZBgBIAEoCRISCgppc19lbmFibGVkGAIgASgIIhAKAlZNEgoKAmlkGAEgASgJIiEKCkF1dGhDb25maWcSEwoLa2V5X2F1dGhfaWQYASABKAkiKAoQVmFsaWRhdGlvbkNvbmZpZxIUCgxvcGVuYXBpX3NwZWMYASABKAlCsQEKEGNvbS5wYXJ0aXRpb24udjFCDEdhdGV3YXlQcm90b1ABWj5naXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL3BhcnRpdGlvbi92MTtwYXJ0aXRpb252MaICA1BYWKoCDFBhcnRpdGlvbi5WMcoCDFBhcnRpdGlvblxWMeICGFBhcnRpdGlvblxWMVxHUEJNZXRhZGF0YeoCDVBhcnRpdGlvbjo6VjFiBnByb3RvMw", + ); /** * GatewayConfig contains all configuration needed for a hostname @@ -53,7 +56,8 @@ export type GatewayConfig = Message<"partition.v1.GatewayConfig"> & { * Describes the message partition.v1.GatewayConfig. * Use `create(GatewayConfigSchema)` to create a new message. */ -export const GatewayConfigSchema: GenMessage = /*@__PURE__*/ +export const GatewayConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 0); /** @@ -75,7 +79,8 @@ export type Deployment = Message<"partition.v1.Deployment"> & { * Describes the message partition.v1.Deployment. * Use `create(DeploymentSchema)` to create a new message. */ -export const DeploymentSchema: GenMessage = /*@__PURE__*/ +export const DeploymentSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 1); /** @@ -97,7 +102,8 @@ export type Project = Message<"partition.v1.Project"> & { * Describes the message partition.v1.Project. * Use `create(ProjectSchema)` to create a new message. */ -export const ProjectSchema: GenMessage = /*@__PURE__*/ +export const ProjectSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 2); /** @@ -114,8 +120,7 @@ export type VM = Message<"partition.v1.VM"> & { * Describes the message partition.v1.VM. * Use `create(VMSchema)` to create a new message. */ -export const VMSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_partition_v1_gateway, 3); +export const VMSchema: GenMessage = /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 3); /** * Authentication middleware configuration @@ -133,7 +138,8 @@ export type AuthConfig = Message<"partition.v1.AuthConfig"> & { * Describes the message partition.v1.AuthConfig. * Use `create(AuthConfigSchema)` to create a new message. */ -export const AuthConfigSchema: GenMessage = /*@__PURE__*/ +export const AuthConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 4); /** @@ -154,6 +160,6 @@ export type ValidationConfig = Message<"partition.v1.ValidationConfig"> & { * Describes the message partition.v1.ValidationConfig. * Use `create(ValidationConfigSchema)` to create a new message. */ -export const ValidationConfigSchema: GenMessage = /*@__PURE__*/ +export const ValidationConfigSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_partition_v1_gateway, 5); - diff --git a/internal/proto/generated/vault/v1/object_pb.ts b/internal/proto/generated/vault/v1/object_pb.ts index 4f9cf36bc0..93ba57ae33 100644 --- a/internal/proto/generated/vault/v1/object_pb.ts +++ b/internal/proto/generated/vault/v1/object_pb.ts @@ -2,15 +2,18 @@ // @generated from file vault/v1/object.proto (package vault.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/object.proto. */ -export const file_vault_v1_object: GenFile = /*@__PURE__*/ - fileDesc("ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABClAEKDGNvbS52YXVsdC52MUILT2JqZWN0UHJvdG9QAVo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxogIDVlhYqgIIVmF1bHQuVjHKAghWYXVsdFxWMeICFFZhdWx0XFYxXEdQQk1ldGFkYXRh6gIJVmF1bHQ6OlYxYgZwcm90bzM"); +export const file_vault_v1_object: GenFile = + /*@__PURE__*/ + fileDesc( + "ChV2YXVsdC92MS9vYmplY3QucHJvdG8SCHZhdWx0LnYxIkAKEURhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSCwoDa2V5GAMgASgMImQKGkVuY3J5cHRlZERhdGFFbmNyeXB0aW9uS2V5EgoKAmlkGAEgASgJEhIKCmNyZWF0ZWRfYXQYAiABKAMSJgoJZW5jcnlwdGVkGAMgASgLMhMudmF1bHQudjEuRW5jcnlwdGVkIj8KEEtleUVuY3J5cHRpb25LZXkSCgoCaWQYASABKAkSEgoKY3JlYXRlZF9hdBgCIAEoAxILCgNrZXkYAyABKAwifwoJRW5jcnlwdGVkEiYKCWFsZ29yaXRobRgBIAEoDjITLnZhdWx0LnYxLkFsZ29yaXRobRINCgVub25jZRgCIAEoDBISCgpjaXBoZXJ0ZXh0GAMgASgMEhkKEWVuY3J5cHRpb25fa2V5X2lkGAQgASgJEgwKBHRpbWUYBSABKAMqHAoJQWxnb3JpdGhtEg8KC0FFU18yNTZfR0NNEABClAEKDGNvbS52YXVsdC52MUILT2JqZWN0UHJvdG9QAVo2Z2l0aHViLmNvbS91bmtleWVkL3Vua2V5L2dvL2dlbi9wcm90by92YXVsdC92MTt2YXVsdHYxogIDVlhYqgIIVmF1bHQuVjHKAghWYXVsdFxWMeICFFZhdWx0XFYxXEdQQk1ldGFkYXRh6gIJVmF1bHQ6OlYxYgZwcm90bzM", + ); /** * @generated from message vault.v1.DataEncryptionKey @@ -38,7 +41,8 @@ export type DataEncryptionKey = Message<"vault.v1.DataEncryptionKey"> & { * Describes the message vault.v1.DataEncryptionKey. * Use `create(DataEncryptionKeySchema)` to create a new message. */ -export const DataEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const DataEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 0); /** @@ -69,7 +73,8 @@ export type EncryptedDataEncryptionKey = Message<"vault.v1.EncryptedDataEncrypti * Describes the message vault.v1.EncryptedDataEncryptionKey. * Use `create(EncryptedDataEncryptionKeySchema)` to create a new message. */ -export const EncryptedDataEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const EncryptedDataEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 1); /** @@ -98,7 +103,8 @@ export type KeyEncryptionKey = Message<"vault.v1.KeyEncryptionKey"> & { * Describes the message vault.v1.KeyEncryptionKey. * Use `create(KeyEncryptionKeySchema)` to create a new message. */ -export const KeyEncryptionKeySchema: GenMessage = /*@__PURE__*/ +export const KeyEncryptionKeySchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 2); /** @@ -142,7 +148,8 @@ export type Encrypted = Message<"vault.v1.Encrypted"> & { * Describes the message vault.v1.Encrypted. * Use `create(EncryptedSchema)` to create a new message. */ -export const EncryptedSchema: GenMessage = /*@__PURE__*/ +export const EncryptedSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_object, 3); /** @@ -158,6 +165,4 @@ export enum Algorithm { /** * Describes the enum vault.v1.Algorithm. */ -export const AlgorithmSchema: GenEnum = /*@__PURE__*/ - enumDesc(file_vault_v1_object, 0); - +export const AlgorithmSchema: GenEnum = /*@__PURE__*/ enumDesc(file_vault_v1_object, 0); diff --git a/internal/proto/generated/vault/v1/service_pb.ts b/internal/proto/generated/vault/v1/service_pb.ts index f04bf7277a..ad2e772cfe 100644 --- a/internal/proto/generated/vault/v1/service_pb.ts +++ b/internal/proto/generated/vault/v1/service_pb.ts @@ -2,27 +2,30 @@ // @generated from file vault/v1/service.proto (package vault.v1, syntax proto3) /* eslint-disable */ +import type { Message } from "@bufbuild/protobuf"; import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { Message } from "@bufbuild/protobuf"; /** * Describes the file vault/v1/service.proto. */ -export const file_vault_v1_service: GenFile = /*@__PURE__*/ - fileDesc("ChZ2YXVsdC92MS9zZXJ2aWNlLnByb3RvEgh2YXVsdC52MSIRCg9MaXZlbmVzc1JlcXVlc3QiIgoQTGl2ZW5lc3NSZXNwb25zZRIOCgZzdGF0dXMYASABKAki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S5SZUVuY3J5cHRSZXNwb25zZSIAElIKDVJlRW5jcnlwdERFS3MSHi52YXVsdC52MS5SZUVuY3J5cHRERUtzUmVxdWVzdBofLnZhdWx0LnYxLlJlRW5jcnlwdERFS3NSZXNwb25zZSIAQpUBCgxjb20udmF1bHQudjFCDFNlcnZpY2VQcm90b1ABWjZnaXRodWIuY29tL3Vua2V5ZWQvdW5rZXkvZ28vZ2VuL3Byb3RvL3ZhdWx0L3YxO3ZhdWx0djGiAgNWWFiqAghWYXVsdC5WMcoCCFZhdWx0XFYx4gIUVmF1bHRcVjFcR1BCTWV0YWRhdGHqAglWYXVsdDo6VjFiBnByb3RvMw", + ); /** * @generated from message vault.v1.LivenessRequest */ -export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & { -}; +export type LivenessRequest = Message<"vault.v1.LivenessRequest"> & {}; /** * Describes the message vault.v1.LivenessRequest. * Use `create(LivenessRequestSchema)` to create a new message. */ -export const LivenessRequestSchema: GenMessage = /*@__PURE__*/ +export const LivenessRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 0); /** @@ -39,7 +42,8 @@ export type LivenessResponse = Message<"vault.v1.LivenessResponse"> & { * Describes the message vault.v1.LivenessResponse. * Use `create(LivenessResponseSchema)` to create a new message. */ -export const LivenessResponseSchema: GenMessage = /*@__PURE__*/ +export const LivenessResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 1); /** @@ -61,7 +65,8 @@ export type EncryptRequest = Message<"vault.v1.EncryptRequest"> & { * Describes the message vault.v1.EncryptRequest. * Use `create(EncryptRequestSchema)` to create a new message. */ -export const EncryptRequestSchema: GenMessage = /*@__PURE__*/ +export const EncryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 2); /** @@ -83,7 +88,8 @@ export type EncryptResponse = Message<"vault.v1.EncryptResponse"> & { * Describes the message vault.v1.EncryptResponse. * Use `create(EncryptResponseSchema)` to create a new message. */ -export const EncryptResponseSchema: GenMessage = /*@__PURE__*/ +export const EncryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 3); /** @@ -105,7 +111,8 @@ export type EncryptBulkRequest = Message<"vault.v1.EncryptBulkRequest"> & { * Describes the message vault.v1.EncryptBulkRequest. * Use `create(EncryptBulkRequestSchema)` to create a new message. */ -export const EncryptBulkRequestSchema: GenMessage = /*@__PURE__*/ +export const EncryptBulkRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 4); /** @@ -122,7 +129,8 @@ export type EncryptBulkResponse = Message<"vault.v1.EncryptBulkResponse"> & { * Describes the message vault.v1.EncryptBulkResponse. * Use `create(EncryptBulkResponseSchema)` to create a new message. */ -export const EncryptBulkResponseSchema: GenMessage = /*@__PURE__*/ +export const EncryptBulkResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 5); /** @@ -144,7 +152,8 @@ export type DecryptRequest = Message<"vault.v1.DecryptRequest"> & { * Describes the message vault.v1.DecryptRequest. * Use `create(DecryptRequestSchema)` to create a new message. */ -export const DecryptRequestSchema: GenMessage = /*@__PURE__*/ +export const DecryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 6); /** @@ -161,7 +170,8 @@ export type DecryptResponse = Message<"vault.v1.DecryptResponse"> & { * Describes the message vault.v1.DecryptResponse. * Use `create(DecryptResponseSchema)` to create a new message. */ -export const DecryptResponseSchema: GenMessage = /*@__PURE__*/ +export const DecryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 7); /** @@ -178,7 +188,8 @@ export type CreateDEKRequest = Message<"vault.v1.CreateDEKRequest"> & { * Describes the message vault.v1.CreateDEKRequest. * Use `create(CreateDEKRequestSchema)` to create a new message. */ -export const CreateDEKRequestSchema: GenMessage = /*@__PURE__*/ +export const CreateDEKRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 8); /** @@ -195,7 +206,8 @@ export type CreateDEKResponse = Message<"vault.v1.CreateDEKResponse"> & { * Describes the message vault.v1.CreateDEKResponse. * Use `create(CreateDEKResponseSchema)` to create a new message. */ -export const CreateDEKResponseSchema: GenMessage = /*@__PURE__*/ +export const CreateDEKResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 9); /** @@ -224,7 +236,8 @@ export type ReEncryptRequest = Message<"vault.v1.ReEncryptRequest"> & { * Describes the message vault.v1.ReEncryptRequest. * Use `create(ReEncryptRequestSchema)` to create a new message. */ -export const ReEncryptRequestSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 10); /** @@ -246,33 +259,34 @@ export type ReEncryptResponse = Message<"vault.v1.ReEncryptResponse"> & { * Describes the message vault.v1.ReEncryptResponse. * Use `create(ReEncryptResponseSchema)` to create a new message. */ -export const ReEncryptResponseSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 11); /** * @generated from message vault.v1.ReEncryptDEKsRequest */ -export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & { -}; +export type ReEncryptDEKsRequest = Message<"vault.v1.ReEncryptDEKsRequest"> & {}; /** * Describes the message vault.v1.ReEncryptDEKsRequest. * Use `create(ReEncryptDEKsRequestSchema)` to create a new message. */ -export const ReEncryptDEKsRequestSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptDEKsRequestSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 12); /** * @generated from message vault.v1.ReEncryptDEKsResponse */ -export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & { -}; +export type ReEncryptDEKsResponse = Message<"vault.v1.ReEncryptDEKsResponse"> & {}; /** * Describes the message vault.v1.ReEncryptDEKsResponse. * Use `create(ReEncryptDEKsResponseSchema)` to create a new message. */ -export const ReEncryptDEKsResponseSchema: GenMessage = /*@__PURE__*/ +export const ReEncryptDEKsResponseSchema: GenMessage = + /*@__PURE__*/ messageDesc(file_vault_v1_service, 13); /** @@ -286,7 +300,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof LivenessRequestSchema; output: typeof LivenessResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.CreateDEK */ @@ -294,7 +308,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof CreateDEKRequestSchema; output: typeof CreateDEKResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.Encrypt */ @@ -302,7 +316,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptRequestSchema; output: typeof EncryptResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.EncryptBulk */ @@ -310,7 +324,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof EncryptBulkRequestSchema; output: typeof EncryptBulkResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.Decrypt */ @@ -318,7 +332,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof DecryptRequestSchema; output: typeof DecryptResponseSchema; - }, + }; /** * ReEncrypt rec * @@ -328,7 +342,7 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptRequestSchema; output: typeof ReEncryptResponseSchema; - }, + }; /** * @generated from rpc vault.v1.VaultService.ReEncryptDEKs */ @@ -336,7 +350,5 @@ export const VaultService: GenService<{ methodKind: "unary"; input: typeof ReEncryptDEKsRequestSchema; output: typeof ReEncryptDEKsResponseSchema; - }, -}> = /*@__PURE__*/ - serviceDesc(file_vault_v1_service, 0); - + }; +}> = /*@__PURE__*/ serviceDesc(file_vault_v1_service, 0);