config

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPartialTemplatesPath = "config/deploy/partials"

DefaultPartialTemplatesPath is the default path used for partials.

Variables

This section is empty.

Functions

func CLI

func CLI() map[string]interface{}

CLI returns the parsed command-line arguments

Types

type CLIOptions

type CLIOptions struct {
	ChartsConfigurationPath    string
	PartialTemplatesPath       string
	ChartsConfigurationOptions *ChartsConfigurationOptions
	OutputJSON                 bool
}

CLIOptions contains all the options set through the CLI arguments

func NewCLIOptions

func NewCLIOptions(cli map[string]interface{}) (*CLIOptions, error)

NewCLIOptions takes CLI arguments, and returns a CLIOptions struct.

type ChartsConfigurationOptions

type ChartsConfigurationOptions struct {
	Name      string
	Namespace string
}

ChartsConfigurationOptions contains the CLI options relevant for the charts configuration.

Jump to

Keyboard shortcuts

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