parse

package
v0.0.0-...-7a8ee34 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIOptions

type CLIOptions struct {
	SourceTemplateName      string            `arg:"--source-template-name,env:SOURCE_TEMPLATE_NAME,required" placeholder:"NAME" help:"Name of a source template"`
	SourceTemplateNamespace string            `arg:"--source-template-namespace,env:SOURCE_TEMPLATE_NAMESPACE" placeholder:"NAMESPACE" help:"Namespace of a source template"`
	TargetTemplateName      string            `arg:"--target-template-name,env:TARGET_TEMPLATE_NAME" placeholder:"NAME" help:"Name of a target template"`
	TargetTemplateNamespace string            `arg:"--target-template-namespace,env:TARGET_TEMPLATE_NAMESPACE" placeholder:"NAMESPACE" help:"Namespace of a target template"`
	AllowReplace            string            `` /* 169-byte string literal not displayed */
	Output                  output.OutputType `arg:"-o" placeholder:"FORMAT" help:"Output format. One of: yaml|json"`
	Debug                   bool              `arg:"--debug" help:"Sets DEBUG log level"`
}

func (*CLIOptions) GetAllowReplaceValue

func (c *CLIOptions) GetAllowReplaceValue() bool

func (*CLIOptions) GetDebugLevel

func (c *CLIOptions) GetDebugLevel() zapcore.Level

func (*CLIOptions) GetSourceTemplateName

func (c *CLIOptions) GetSourceTemplateName() string

func (*CLIOptions) GetSourceTemplateNamespace

func (c *CLIOptions) GetSourceTemplateNamespace() string

func (*CLIOptions) GetTargetTemplateName

func (c *CLIOptions) GetTargetTemplateName() string

func (*CLIOptions) GetTargetTemplateNamespace

func (c *CLIOptions) GetTargetTemplateNamespace() string

func (*CLIOptions) Init

func (c *CLIOptions) Init() error

Jump to

Keyboard shortcuts

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