Skip to content

Commit

Permalink
feat: add workload in the module grpc interface (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Mar 5, 2024
1 parent d323c0c commit e80f90e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 26 deletions.
55 changes: 32 additions & 23 deletions pkg/modules/proto/module.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pkg/modules/proto/module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ message GeneratorRequest {
string project = 1; // Project represents the project name
string stack = 2; // Stack represents the stack name
string app = 3; // App represents the application name, which is typically the same as the namespace of Kubernetes resources
bytes dev_module_config = 4; // DevModuleConfig is the developer inputs of the module type
bytes platform_module_config = 5; // PlatformModuleConfig is the module inputs of the specific module type
bytes runtime_config = 6; // RuntimeConfig is the runtime configurations defined in the workspace config
bytes workload = 4; // Workload represents the workload configuration
bytes dev_module_config = 5; // DevModuleConfig is the developer's inputs of this module
bytes platform_module_config = 6; // PlatformModuleConfig is the platform engineer's inputs of this module
bytes runtime_config = 7; // RuntimeConfig is the runtime configurations defined in the workspace config
}

// GeneratorResponse represents the generate result of the generator
Expand Down

0 comments on commit e80f90e

Please sign in to comment.