populate

package
v0.0.166 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	secretfacade.Options
	WaitDuration        time.Duration
	Results             []*secretfacade.SecretPair
	CommandRunner       cmdrunner.CommandRunner
	NoWait              bool
	Generators          map[string]generators.Generator
	Requirements        *config.RequirementsConfig
	BootSecretNamespace string
}

Options the options for the command

func NewCmdPopulate

func NewCmdPopulate() (*cobra.Command, *Options)

NewCmdPopulate creates a command object for the command

func (*Options) EvaluateTemplate added in v0.0.87

func (o *Options) EvaluateTemplate(ns, secretName, property, templateText string) (string, error)

EvaluateTemplate evaluates the go template to create the value

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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