Documentation
¶
Index ¶
- func InheritFromEnvironment(assignments []string, names []string, prefix string) []string
- func InheritOptionsFromEnvironment[Map ~map[string]V, V any](assignments []string, options Map, prefix string) []string
- func ResolveAgentConfig(devConfig *config.Config, provider *provider2.ProviderConfig, ...) provider2.ProviderAgentConfig
- func ResolveAndSaveOptionsMachine(ctx context.Context, devConfig *config.Config, ...) (*provider2.Machine, error)
- func ResolveAndSaveOptionsProxy(ctx context.Context, devConfig *config.Config, ...) (*provider2.Workspace, error)
- func ResolveAndSaveOptionsWorkspace(ctx context.Context, devConfig *config.Config, ...) (*provider2.Workspace, error)
- func ResolveOptions(ctx context.Context, devConfig *config.Config, ...) (*config.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InheritFromEnvironment ¶ added in v0.9.0
Takes a list of assignments in KEY=VALUE format, a list of option names to check, and an environment variable prefix, and returns a new list with additional assignments from environment variables for any names not already assigned.
func InheritOptionsFromEnvironment ¶ added in v0.9.0
func InheritOptionsFromEnvironment[Map ~map[string]V, V any]( assignments []string, options Map, prefix string, ) []string
Takes a list of assignments in KEY=VALUE format, a map of option to propagate, and an environment variable prefix, and returns a new list with additional assignments from environment variables for any options not already assigned.
func ResolveAgentConfig ¶
func ResolveAgentConfig(devConfig *config.Config, provider *provider2.ProviderConfig, workspace *provider2.Workspace, machine *provider2.Machine) provider2.ProviderAgentConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.