Documentation ¶
Index ¶
- func AddFlags(cmd *cobra.Command)
- func CreateKubeConfigFile(outDir string, kubeConfigFileName string, cfg *rest.Config) error
- func GetRootCmd(args []string) *cobra.Command
- func NewCertCmd(opt *app_option.Options) *cobra.Command
- func NewCmdVersion() *cobra.Command
- func NewControllerCmd(opt *app_option.Options) *cobra.Command
- func NewFakeApiserverCmd(opt *app_option.Options) *cobra.Command
- func PrintFlags(flags *pflag.FlagSet)
- func TryRun() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeConfigFile ¶
CreateKubeConfigFile creates a kubeconfig file.
func GetRootCmd ¶
GetRootCmd returns the root of the cobra command-tree.
func NewCertCmd ¶
func NewCertCmd(opt *app_option.Options) *cobra.Command
func NewCmdVersion ¶
NewCmdVersion returns a cobra command for fetching versions
func NewControllerCmd ¶
func NewControllerCmd(opt *app_option.Options) *cobra.Command
func NewFakeApiserverCmd ¶
func NewFakeApiserverCmd(opt *app_option.Options) *cobra.Command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.