File tree Expand file tree Collapse file tree 13 files changed +218
-225
lines changed
Expand file tree Collapse file tree 13 files changed +218
-225
lines changed Original file line number Diff line number Diff line change 77#
88
99PROTOC_INC_PATH =$(dir $(shell which protoc 2>/dev/null) ) /../include
10- API_DEPS =pkg/api/proto/apiserver/v1alpha1 /cache.proto
10+ API_DEPS =pkg/api/proto/apiserver/v1 /cache.proto
1111API_DEPSRCS=$(API_DEPS:.proto =.pb.go)
1212
1313.PHONY : gen.run
@@ -20,13 +20,13 @@ gen.errcode: gen.errcode.code gen.errcode.doc
2020.PHONY : gen.errcode.code
2121gen.errcode.code : tools.verify.codegen
2222 @echo " ===========> Generating iam error code go source files"
23- @codegen -type=int ${ROOT_DIR} /internal/ pkg/code
23+ @codegen -type=int ${ROOT_DIR} /pkg/code
2424
2525.PHONY : gen.errcode.doc
2626gen.errcode.doc : tools.verify.codegen
2727 @echo " ===========> Generating error code markdown documentation"
2828 @codegen -type=int -doc \
29- -output ${ROOT_DIR} /docs/guide/zh-CN/api/error_code_generated.md ${ROOT_DIR} /internal/ pkg/code
29+ -output ${ROOT_DIR} /docs/guide/zh-CN/api/error_code_generated.md ${ROOT_DIR} /pkg/code
3030
3131.PHONY : gen.ca.%
3232gen.ca.% :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414
1515 "github.com/coding-hui/iam/internal/apiserver/config"
1616 apisv1 "github.com/coding-hui/iam/internal/apiserver/interfaces/api"
17- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
17+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1818 "github.com/coding-hui/iam/pkg/log"
1919 genericoptions "github.com/coding-hui/iam/pkg/options"
2020)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package v1
77import (
88 "github.com/coding-hui/iam/internal/apiserver/domain/model"
99 v1 "github.com/coding-hui/iam/pkg/api/apiserver/v1"
10- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
10+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1111
1212 metav1 "github.com/coding-hui/common/meta/v1"
1313)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212
1313 "github.com/coding-hui/iam/internal/apiserver/domain/service"
1414 assembler "github.com/coding-hui/iam/internal/apiserver/interfaces/api/assembler/v1"
15- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
15+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1616 "github.com/coding-hui/iam/pkg/log"
1717
1818 metav1 "github.com/coding-hui/common/meta/v1"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212 "github.com/casbin/casbin/v2/persist"
1313
1414 "github.com/coding-hui/iam/internal/authzserver/store"
15- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
15+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1616 "github.com/coding-hui/iam/pkg/log"
1717)
1818
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313 "github.com/coding-hui/iam/pkg/log"
1414
1515 "github.com/coding-hui/iam/internal/authzserver/store"
16- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
16+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1717)
1818
1919type datastore struct {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414
1515 "github.com/coding-hui/common/errors"
1616
17- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
17+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1818)
1919
2020type policies struct {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package store
77import (
88 "context"
99
10- pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1alpha1 "
10+ pb "github.com/coding-hui/iam/pkg/api/proto/apiserver/v1 "
1111)
1212
1313// PolicyStore defines the policy storage interface.
You can’t perform that action at this time.
0 commit comments