Documentation
¶
Index ¶
- Constants
- func BuildCloudConfig(endpointURL string) (string, error)
- func BuildEndpoint(host string) string
- func ConfigDir(lstkConfigDir string) string
- func Env(azureConfigDir string) []string
- func IsHealthy(ctx context.Context, endpointURL string) error
- func IsSetUp(azureConfigDir string) bool
- func RunSetup(ctx context.Context, sink output.Sink, containers []config.ContainerConfig, ...) error
- func Setup(ctx context.Context, sink output.Sink, endpointURL, azureConfigDir string) error
Constants ¶
View Source
const ( AzureSubdomain = "azure" CloudName = "LocalStack" )
Variables ¶
This section is empty.
Functions ¶
func BuildCloudConfig ¶
BuildCloudConfig returns the JSON payload for `az cloud register/update --cloud-config`.
func BuildEndpoint ¶
func RunSetup ¶
func RunSetup(ctx context.Context, sink output.Sink, containers []config.ContainerConfig, localStackHost, lstkConfigDir string) error
RunSetup derives the LocalStack Azure endpoint from the configured containers and runs Setup against the isolated Azure CLI config dir under lstkConfigDir. It works with any sink, so it serves both the interactive (TUI) and non-interactive (plain) paths.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.