
A number of items were identified by GoLand's code inspection as being unused. These are being removed in this change. Change-Id: I0c8c0b5f5c33f2e715f991a02ddd63174758c533 Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
24 lines
601 B
Go
24 lines
601 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"opendev.org/airship/airshipctl/pkg/environment"
|
|
)
|
|
|
|
// NewBootstrapCommand creates a new command for bootstrapping airshipctl
|
|
func NewBootstrapCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Command {
|
|
bootstrapRootCmd := &cobra.Command{
|
|
Use: "bootstrap",
|
|
Short: "Bootstrap ephemeral Kubernetes cluster",
|
|
}
|
|
|
|
isoGenCmd := NewISOGenCommand(rootSettings)
|
|
bootstrapRootCmd.AddCommand(isoGenCmd)
|
|
|
|
remoteDirectCmd := NewRemoteDirectCommand(rootSettings)
|
|
bootstrapRootCmd.AddCommand(remoteDirectCmd)
|
|
|
|
return bootstrapRootCmd
|
|
}
|