github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/cmd/podman/healthcheck.go (about) 1 package main 2 3 import ( 4 "github.com/containers/libpod/cmd/podman/cliconfig" 5 "github.com/spf13/cobra" 6 ) 7 8 var healthcheckDescription = "Manage health checks on containers" 9 var healthcheckCommand = cliconfig.PodmanCommand{ 10 Command: &cobra.Command{ 11 Use: "healthcheck", 12 Short: "Manage Healthcheck", 13 Long: healthcheckDescription, 14 RunE: commandRunE(), 15 }, 16 } 17 18 // Commands that are universally implemented 19 var healthcheckCommands = []*cobra.Command{ 20 _healthcheckrunCommand, 21 } 22 23 func init() { 24 healthcheckCommand.AddCommand(healthcheckCommands...) 25 healthcheckCommand.SetUsageTemplate(UsageTemplate()) 26 rootCmd.AddCommand(healthcheckCommand.Command) 27 }