Documentation ¶
Index ¶
- type CLIOptions
- func (c *CLIOptions) GetAllowReplaceValue() bool
- func (c *CLIOptions) GetDebugLevel() zapcore.Level
- func (c *CLIOptions) GetSourceTemplateName() string
- func (c *CLIOptions) GetSourceTemplateNamespace() string
- func (c *CLIOptions) GetTargetTemplateName() string
- func (c *CLIOptions) GetTargetTemplateNamespace() string
- func (c *CLIOptions) Init() error
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
Click to show internal directories.
Click to hide internal directories.