INNER CODE UNIT · Go

main

bitpoke/mysql-operator · cmd/orc-helper/main.go:36

func main() {

	cmd := &cobra.Command{
		Use:   "orchestrator-helper",
		Short: "Helper for orchestrator.",
		Long:  `This command is a helper for updating MySQL cluster resources. Record events.`,
		Run: func(cmd *cobra.Command, args []string) {
			log.Fatal("you run orchestrator helper, see help section")
		},
	}

	// Get a config to talk to the apiserver
	cfg, err := config.GetConfig()
	if err != nil {
		log.Fatal("unable to get configuration: ", err)
	}

	// Setup Scheme for all resources

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…