Documentation
¶
Index ¶
Constants ¶
View Source
const PulumiSkipConfirmationsEnvVar = "PULUMI_SKIP_CONFIRMATIONS"
PulumiSkipConfirmationsEnvVar is an environment variable that can be used to skip confirmation prompts. This matches the variable used by the core Pulumi CLI.
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
¶
- client.go
- env.go
- env_clone.go
- env_diff.go
- env_edit.go
- env_get.go
- env_init.go
- env_ls.go
- env_open.go
- env_rm.go
- env_rotate.go
- env_run.go
- env_set.go
- env_tag.go
- env_tag_get.go
- env_tag_ls.go
- env_tag_mv.go
- env_tag_rm.go
- env_version.go
- env_version_history.go
- env_version_retract.go
- env_version_rollback.go
- env_version_tag.go
- env_version_tag_ls.go
- env_version_tag_rm.go
- environ.go
- esc.go
- exec.go
- fs.go
- gen_docs.go
- login.go
- logout.go
- pager.go
- prepare.go
- templates.go
- version.go
Click to show internal directories.
Click to hide internal directories.