Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶ added in v0.6.1
NewClient returns a new client.Client with the same credentials as would be used by the ESC CLI.
func PrepareEnvironment ¶ added in v0.6.0
func PrepareEnvironment(e *esc.Environment, opts *PrepareOptions) (files, environ, secrets []string, err error)
PrepareEnvironment prepares the envvar and temporary file projections for an environment. Returns the paths to temporary files, environment variable pairs, and secret values.
Types ¶
type Options ¶
type Options struct { ParentPath string UserAgent string Stdin io.Reader Stdout io.Writer Stderr io.Writer Colors colors.Colorization Login httpstate.LoginManager PulumiWorkspace workspace.PulumiWorkspace // contains filtered or unexported fields }
type PrepareOptions ¶ added in v0.6.0
type PrepareOptions struct { Quote bool // True to quote environment variable values Pretend bool // True to skip actually writing temporary files Redact bool // True to redact secrets. Ignored unless Pretend is set. // contains filtered or unexported fields }
PrepareOptions contains options for PrepareEnvironment.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.