github.com/argoproj/argo-cd@v1.8.7/cmd/argocd-util/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  
     7  	"github.com/argoproj/argo-cd/cmd/argocd-util/commands"
     8  
     9  	// load the gcp plugin (required to authenticate against GKE clusters).
    10  	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
    11  	// load the oidc plugin (required to authenticate with OpenID Connect).
    12  	_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
    13  	// load the azure plugin (required to authenticate with AKS clusters).
    14  	_ "k8s.io/client-go/plugin/pkg/client/auth/azure"
    15  )
    16  
    17  func main() {
    18  	if err := commands.NewCommand().Execute(); err != nil {
    19  		fmt.Println(err)
    20  		os.Exit(1)
    21  	}
    22  }