forked from rancher/fleet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
22 lines (17 loc) · 690 Bytes
/
main.go
File metadata and controls
22 lines (17 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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())
}