Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ Pulumi.*.yaml
docs/plans
examples/python/
examples/typescript/node_modules/
example-local-test/
example-local-test/
# Never commit ad-hoc API scratch files (may contain tokens)
curl.txt
*.curl
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SDK_GO := sdk/go
# VERSION is injected into the provider binary via ldflags. Falls back to
# the latest git tag (stripped of a leading `v`), or "dev" when no tags exist.
GIT_TAG := $(shell git describe --tags --abbrev=0 --match "v[0-9]*" 2>/dev/null)
VERSION ?= $(if $(GIT_TAG),$(patsubst v%,%,$(GIT_TAG)),dev)
VERSION ?= $(if $(GIT_TAG),$(patsubst v%,%,$(GIT_TAG)),0.0.0-dev)
LDFLAGS := -ldflags "-X main.version=$(VERSION)"

# Proto sync settings — override with: make proto SERVICES_DIR=/path/to/services
Expand All @@ -24,8 +24,8 @@ TARGET_PROTO_DIR = internal/proto/api/v1
TARGET_GEN_PB_DIR = internal/gen/api/v1
TARGET_GEN_CONNECT_DIR = internal/gen/api/v1/apiv1connect

PROTO_FILES = common.proto instance.proto k8s.proto recommendation.proto cluster.proto profiling.proto
GEN_PB_FILES = common.pb.go instance.pb.go k8s.pb.go recommendation.pb.go cluster.pb.go cluster_grpc.pb.go profiling.pb.go profiling_grpc.pb.go
PROTO_FILES = common.proto instance.proto k8s.proto recommendation.proto cluster.proto profiling.proto hpa_connector.proto
GEN_PB_FILES = common.pb.go instance.pb.go k8s.pb.go recommendation.pb.go cluster.pb.go cluster_grpc.pb.go profiling.pb.go profiling_grpc.pb.go hpa_connector.pb.go
GEN_CONNECT_FILES = k8s.connect.go recommendation.connect.go cluster.connect.go profiling.connect.go

OLD_IMPORT = github.com/devzero-inc/services/dakr/gen/api/v1
Expand Down
334 changes: 292 additions & 42 deletions internal/gen/api/v1/apiv1connect/k8s.connect.go

Large diffs are not rendered by default.

37 changes: 36 additions & 1 deletion internal/gen/api/v1/apiv1connect/profiling.connect.go

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

Loading
Loading