-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持不同后端存储 #379
The head ref may contain hidden characters: "\u652F\u6301\u4E0D\u540C\u540E\u7AEF\u5B58\u50A8"
支持不同后端存储 #379
Conversation
pixiuConfig "github.com/caoyingjunz/pixiulib/config" | ||
"github.com/gin-gonic/gin" | ||
"github.com/spf13/cobra" | ||
"gorm.io/driver/mysql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
恢复非相关改动
defaultListen = 8080 | ||
defaultTokenKey = "pixiu" | ||
defaultConfigFile = "/etc/pixiu/config.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@@ -19,6 +19,8 @@ package cluster | |||
import ( | |||
"context" | |||
"fmt" | |||
"github.com/caoyingjunz/pixiu/pkg/db/iface" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
模块导入遵守 标准款,三方库,自定义库的顺序
"github.com/caoyingjunz/pixiu/pkg/db/dbconn" | ||
"github.com/caoyingjunz/pixiu/pkg/types" | ||
sqliteDriver "gorm.io/driver/sqlite" | ||
"gorm.io/gorm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修复ci问题
@@ -21,7 +21,7 @@ import ( | |||
"github.com/caoyingjunz/pixiu/pkg/controller/cluster" | |||
"github.com/caoyingjunz/pixiu/pkg/controller/tenant" | |||
"github.com/caoyingjunz/pixiu/pkg/controller/user" | |||
"github.com/caoyingjunz/pixiu/pkg/db" | |||
"github.com/caoyingjunz/pixiu/pkg/db/iface" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥要修改名称为iface
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: