Documentation
¶
Index ¶
- Variables
- func Execute()
- func PluginInstalled(plugin string) (bool, error)
- func ReleaseExists(namespace string, release string, args ...string) bool
- func SetupBinnacleWorkingDir() (string, error)
- func SetupKustomize(tmpDir string, configPath string, chart config.ChartConfig) (string, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var GITCOMMIT string
GITCOMMIT The gitcommit the application was built from
View Source
var RootCmd = &cobra.Command{ Use: "binnacle", Short: "An opinionated automation tool for Kubernetes' Helm.", Long: ``, SilenceUsage: true, Version: fmt.Sprintf("%s-%s", VERSION, GITCOMMIT), }
RootCmd represents the base command when called without any subcommands
View Source
var VERSION string
VERSION The version of the application
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func PluginInstalled ¶
PluginInstalled returns if the given plugin is installed
func SetupBinnacleWorkingDir ¶
func SetupKustomize ¶
Set up the kustomize post-renderer script and kustomization.yml
Types ¶
type Result ¶
Result definition
func RunHelmCommand ¶
RunHelmCommand runs the given command against helm
Click to show internal directories.
Click to hide internal directories.