INNER CODE UNIT · Go

main

NVIDIA/gpu-operator · cmd/cleanup-gpuclusters/main.go:40

func main() {
	var debug bool
	var crName string

	c := cli.Command{}
	c.Name = "cleanup-gpuclusters"
	c.Usage = "Delete the chart-managed GPUCluster CR and wait until it is gone"
	c.Version = info.GetVersionString()
	c.Flags = []cli.Flag{
		&cli.BoolFlag{
			Name:        "debug",
			Aliases:     []string{"d"},
			Usage:       "Enable debug-level logging",
			Destination: &debug,
			Sources:     cli.EnvVars("DEBUG"),
		},
		&cli.StringFlag{
			Name:        "gpucluster-name",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…