cmd

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

authors Dipankar <dipankar@dipankar-das.com>

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string
View Source
var Version string = "dev"

change this using ldflags

Functions

func AllFeatures

func AllFeatures()

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func SetDefaults

func SetDefaults(provider consts.KsctlCloud, clusterType consts.KsctlClusterType)

func SetRequiredFeatureFlags

func SetRequiredFeatureFlags(cmd *cobra.Command)

Types

type CobraCmd

type CobraCmd struct {
	ClusterName string
	Region      string
	Client      resources.KsctlClient
	Version     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL