cli

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate = "" // YYYY-MM-DD

BuildDate is dynamically set at build time by the cli or overridden in the Makefile.

View Source
var Version = "DEV"

Version is dynamically set by the ci or overridden by the Makefile.

Functions

func AddGlobalFlags

func AddGlobalFlags(cmd *cobra.Command, options *utils.Options)

AddGlobalFlags add to the cobra command all the global flags

func DeploySubcommand

func DeploySubcommand(cmd *cobra.Command, options *utils.Options)

DeploySubcommand add deploy subcommand to the main command

func GenerateSubcommand

func GenerateSubcommand(cmd *cobra.Command)

GenerateSubcommand add generate subcommand to the main command

func HydrateSubcommand

func HydrateSubcommand(cmd *cobra.Command)

HydrateSubcommand add resources and patches to kustomization.yaml

func InterpolateSubcommand

func InterpolateSubcommand(cmd *cobra.Command)

InterpolateSubcommand add interpolate subcommand to the main command

func KustomizeSubcommand

func KustomizeSubcommand(cmd *cobra.Command)

KustomizeSubcommand runs kustomize

func New

func New() *utils.Options

New create a new options struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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