Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AWSCmd = &cobra.Command{ Use: "aws", Run: func(cmd *cobra.Command, args []string) { config.GenerateSampleConfig(context.Background(), constants.CloudProviderAWS) }, }
View Source
var GenerateCmd = &cobra.Command{ Use: "generate", PersistentPreRun: func(cmd *cobra.Command, args []string) { if _, err := os.Stat(constants.OutputPathGeneratedConfig); err == nil { slog.ErrorContext(context.Background(), "Config file already exists", slog.String("path", constants.OutputPathGeneratedConfig)) os.Exit(1) } }, RunE: func(cmd *cobra.Command, args []string) error { return cmd.Help() }, }
View Source
var HetznerCmd = &cobra.Command{ Use: "hetzner", Run: func(cmd *cobra.Command, args []string) { config.GenerateSampleConfig(context.Background(), constants.CloudProviderHetzner) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.