2 Star 2 Fork 1

rancher/fleet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mario Manno 提交于 2022-09-15 10:42 . Split imports into groups
// Package main is the entry point for the fleet apply binary. (fleetapply)
package main
import (
"github.com/rancher/fleet/modules/cli/cmds"
command "github.com/rancher/wrangler-cli"
// Ensure GVKs are registered
_ "github.com/rancher/fleet/pkg/generated/controllers/fleet.cattle.io"
_ "github.com/rancher/wrangler/pkg/generated/controllers/apiextensions.k8s.io"
_ "github.com/rancher/wrangler/pkg/generated/controllers/apps"
_ "github.com/rancher/wrangler/pkg/generated/controllers/core"
_ "github.com/rancher/wrangler/pkg/generated/controllers/rbac"
// Add non-default auth providers
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
func main() {
command.Main(cmds.App())
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/rancher/fleet.git
git@gitee.com:rancher/fleet.git
rancher
fleet
fleet
add_shell_check

搜索帮助

Cb406eda 1850385 E526c682 1850385