INNER CODE UNIT · Go

main

NVIDIA/k8s-device-plugin · cmd/mps-control-daemon/main.go:51

func main() {
	config := &Config{}

	c := cli.NewApp()
	c.Name = "NVIDIA MPS Control Daemon"
	c.Version = info.GetVersionString()
	c.Action = func(ctx *cli.Context) error {
		return start(ctx, config)
	}
	c.Commands = []*cli.Command{
		mount.NewCommand(),
	}

	config.flags = []cli.Flag{
		&cli.StringFlag{
			Name:        "config-file",
			Usage:       "the path to a config file as an alternative to command line options or environment variables",
			Destination: &config.configFile,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…