kustomize

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KustomizeBuildCmd = &cobra.Command{
	Use:   "build [rootDir]",
	Short: "Build all kustomize file within parent directory",
	Args:  cobra.ExactArgs(1),
	Long:  `Build all kustomize file within parent directory`,
	RunE: func(cmd *cobra.Command, args []string) error {
		kustomizeCommand, err := cmd.Flags().GetString("binary")
		if err != nil {
			return err
		}

		kustomizeCommand = cmp.Or(kustomizeCommand, "kustomize")

		return kustomize.BuildAll(kustomizeCommand, args[0], *outputBuildDir)
	},
}

kustomizeBuildCmd represents the kustomize command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳