envvar

package
v0.0.0-...-e561cac Latest Latest
Warning

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

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

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureEnvVarsAreRemoved

func EnsureEnvVarsAreRemoved(registryKey registry.Key, envVarsToRemove []string) (bool, error)

EnsureEnvVarsAreRemoved ensures that the given environment variables are removed from the instance's Windows registry An instance restart is required after they are removed to ensure all processes pick up the updated values.

func Reconcile

func Reconcile(envVars map[string]string, watchedEnvVars []string) (bool, error)

Reconcile ensures that the proxy environment variables are set as expected on the instance If there's any changes, it returns true indicating an instance restart is required to ensure all processes pick up the updated values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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