cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Copyright © 2023 Fabrice Jammes fabrice.jammes@k8s-school.fr

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 Fabrice Jammmes fabrice.jammes@k8s-school.fr

Copyright © 2023 Fabrice Jammes fabrice.jammes@k8s-school.fr

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 Fabrice Jammes fabrice.jammes@k8s-school.fr

Copyright © 2023 Fabrice Jammes fabrice.jammes@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Copyright © 2023 Fabrice Jammes fabrice.jammes@in2p3.fr

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const KIND string = "kind"
View Source
const ShellToUse = "bash"

Variables

This section is empty.

Functions

func ExecCmd

func ExecCmd(command string, interactive bool) (string, string)

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 Version

func Version() (version, sum string)

Version returns the version of k8s-toolbox and its checksum.

Types

type K8sToolboxConfig

type K8sToolboxConfig struct {
	ExtraMountPath  string `mapstructure:"extramountpath"`
	LocalCertSANs   bool   `mapstructure:"localcertsans"`
	PrivateRegistry string `mapstructure:"privateregistry"`
	UseCalico       bool   `mapstructure:"usecalico"`
	Workers         uint   `mapstructure:"workers"`
}

Jump to

Keyboard shortcuts

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