Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int // gin 监听端口 KubeConfig string // KUBECONFIG文件路径 ApiKey string // OPENAI_API_KEY ApiURL string // OPENAI_API_URL ApiModel string // OPENAI_MODEL Debug bool // 调试模式,同步修改所有的debug模式 LogV int // klog的日志级别klog.V(this) InCluster bool // 是否集群内模式 LoginType string // password,oauth,token,.. 登录方式,默认为password AdminUserName string // 管理员用户名 AdminPassword string // 管理员密码 JwtTokenSecret string // JWT token secret NodeShellImage string // nodeShell 镜像 KubectlShellImage string // kubectlShell 镜像 SqlitePath string // sqlite 数据库路径 }
Click to show internal directories.
Click to hide internal directories.