Summary
Run protoc to generate Go code from provisioning.proto into pkg/azdext/. This produces the type-safe Go structs, interfaces, and client/server stubs needed by all downstream components.
Parent Epic
Part of #7465 — Provisioning Providers in the AZD Extension Framework
Context
The project uses protoc with protoc-gen-go and protoc-gen-go-grpc plugins to generate Go code from .proto files. Generated files are placed in pkg/azdext/ alongside the existing generated code for service targets and framework services.
Detailed Requirements
- Run
protoc with the same configuration used for service_target.proto and framework_service.proto
- Output files:
pkg/azdext/provisioning.pb.go — message types, serialization
pkg/azdext/provisioning_grpc.pb.go — gRPC service interfaces and stubs
- Verify generated code compiles cleanly
- Verify
ProvisioningServiceServer and ProvisioningServiceClient interfaces are generated
- Verify
UnimplementedProvisioningServiceServer struct is available for embedding
- Verify
RegisterProvisioningServiceServer() function is generated
Acceptance Criteria
Dependencies
Files
- Create:
pkg/azdext/provisioning.pb.go (generated)
- Create:
pkg/azdext/provisioning_grpc.pb.go (generated)
Summary
Run
protocto generate Go code fromprovisioning.protointopkg/azdext/. This produces the type-safe Go structs, interfaces, and client/server stubs needed by all downstream components.Parent Epic
Part of #7465 — Provisioning Providers in the AZD Extension Framework
Context
The project uses
protocwithprotoc-gen-goandprotoc-gen-go-grpcplugins to generate Go code from.protofiles. Generated files are placed inpkg/azdext/alongside the existing generated code for service targets and framework services.Detailed Requirements
protocwith the same configuration used forservice_target.protoandframework_service.protopkg/azdext/provisioning.pb.go— message types, serializationpkg/azdext/provisioning_grpc.pb.go— gRPC service interfaces and stubsProvisioningServiceServerandProvisioningServiceClientinterfaces are generatedUnimplementedProvisioningServiceServerstruct is available for embeddingRegisterProvisioningServiceServer()function is generatedAcceptance Criteria
pkg/azdext/provisioning.pb.gogenerated with all message typespkg/azdext/provisioning_grpc.pb.gogenerated with server/client interfacespkg/azdext/codeUnimplementedProvisioningServiceServerstruct availableRegisterProvisioningServiceServer()function availableDependencies
Files
pkg/azdext/provisioning.pb.go(generated)pkg/azdext/provisioning_grpc.pb.go(generated)