cmd

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package cmd provides all the functions describing vab's commands

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 NewApplyCommand

func NewApplyCommand(logger logger.LogInterface) *cobra.Command

NewApplyCommand returns a new cobra.Command for building and applying the clusters configuration

func NewBuildCommand

func NewBuildCommand(logger logger.LogInterface) *cobra.Command

NewBuildCommand returns a new cobra.Command for building the clusters configuration with Kustomize

func NewInitCommand

func NewInitCommand(logger logger.LogInterface) *cobra.Command

NewInitCommand returns a new cobra.Command for initializing the project

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand returns a new cobra.Command for vab's root command

func NewSyncCommand

func NewSyncCommand(logger logger.LogInterface) *cobra.Command

NewSyncCommand returns a new cobra.Command for synchronizing the clusters configuration locally

func NewValidateCommand

func NewValidateCommand(logger logger.LogInterface) *cobra.Command

NewValidateCommand returns a new cobra.Command for validating the configuration file

Types

type FlagPole

type FlagPole struct {
	Name                  string
	Config                string
	Verbosity             uint8
	DryRun                bool
	Output                string
	CRDStatusCheckRetries int
}

Jump to

Keyboard shortcuts

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