Documentation ¶
Index ¶
- func Deploy(azureConfig *parser.Config, envVars map[string]string)
- func DeployACI(ctx context.Context, azureConfig *parser.Config, tunnelURL string, ...)
- func DeployAppService(ctx context.Context, azureConfig *parser.Config, tunnelURL string, ...)
- func Destroy()
- func ParseAndLogAzureError(responseBody []byte)
- type AzureError
- type DetailedAzureError
- type ResourceTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployACI ¶
func DeployACI(ctx context.Context, azureConfig *parser.Config, tunnelURL string, envVars map[string]string)
DeployACI handles the deployment of an Azure Container Instance
func DeployAppService ¶
func DeployAppService(ctx context.Context, azureConfig *parser.Config, tunnelURL string, envVars map[string]string)
DeployAppService handles the deployment of an Azure App Service
func ParseAndLogAzureError ¶
func ParseAndLogAzureError(responseBody []byte)
ParseAndLogAzureError parses the JSON error response and logs the code and message
Types ¶
type AzureError ¶
type AzureError struct { Error struct { Code string `json:"code"` Message string `json:"message"` } `json:"error"` }
AzureError represents the structure of an error response from Azure
type DetailedAzureError ¶
DetailedAzureError represents a detailed error response structure from Azure
Click to show internal directories.
Click to hide internal directories.