Skip to content

Commit

Permalink
Removed capten-sdk proto, as these endpoints will be served from REST…
Browse files Browse the repository at this point in the history
… endpoints
  • Loading branch information
share2kanna committed May 3, 2024
1 parent bd0deb0 commit 29013da
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,339 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ gen-protoc:
mkdir -p server/pkg/pb/captenpluginspb
mkdir -p server/pkg/pb/pluginstorepb
mkdir -p capten/common-pkg/vault-cred/vaultcredpb
mkdir -p capten/common-pkg/capten-sdk/captensdkpb
mkdir -p capten/common-pkg/agentpb
mkdir -p capten/common-pkg/cluster-plugins/clusterpluginspb
mkdir -p server/pkg/pb/clusterpluginspb
Expand All @@ -37,10 +36,6 @@ gen-protoc:
--go-grpc_out=../capten/agent/internal/pb/captenpluginspb --go-grpc_opt=paths=source_relative \
./capten_plugins.proto

cd proto && protoc --go_out=../capten/common-pkg/capten-sdk/captensdkpb --go_opt=paths=source_relative \
--go-grpc_out=../capten/common-pkg/capten-sdk/captensdkpb --go-grpc_opt=paths=source_relative \
./capten_sdk.proto

cd proto && protoc --go_out=../capten/common-pkg/vault-cred/vaultcredpb --go_opt=paths=source_relative \
--go-grpc_out=../capten/common-pkg/vault-cred/vaultcredpb --go-grpc_opt=paths=source_relative \
./vault_cred.proto
Expand Down
2 changes: 0 additions & 2 deletions capten/agent/internal/api/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/kube-tarian/kad/capten/agent/internal/pb/captenpluginspb"
"github.com/kube-tarian/kad/capten/agent/internal/temporalclient"
"github.com/kube-tarian/kad/capten/common-pkg/agentpb"
"github.com/kube-tarian/kad/capten/common-pkg/capten-sdk/captensdkpb"
"github.com/kube-tarian/kad/capten/common-pkg/cluster-plugins/clusterpluginspb"
pluginconfigtore "github.com/kube-tarian/kad/capten/common-pkg/pluginconfig-store"
)
Expand All @@ -20,7 +19,6 @@ var _ agentpb.AgentServer = &Agent{}
type Agent struct {
agentpb.UnimplementedAgentServer
captenpluginspb.UnimplementedCaptenPluginsServer
captensdkpb.UnimplementedCaptenSdkServer
clusterpluginspb.UnimplementedClusterPluginsServer
tc *temporalclient.Client
as *captenstore.Store
Expand Down
Loading

0 comments on commit 29013da

Please sign in to comment.