package
0.0.0-20241009004650-84ea22048b9a
Repository: https://github.com/azure/azure-dev.git
Documentation: pkg.go.dev
# Functions
Load hydrates the azure.yaml configuring into an viewable structure This does not evaluate any tooling.
No description provided by the author
No description provided by the author
NewAiEndpointTarget creates a new aiEndpointTarget instance.
NewAiHelper creates a new instance of AiHelper.
Creates a new instance of the AKS service target.
NewAppServiceTarget creates a new instance of the AppServiceTarget.
NewContainerAppTarget creates the container app service target.
No description provided by the author
NewDockerProject creates a new instance of a Azd project that leverages docker for building.
NewDockerProjectAsFrameworkService is the same as NewDockerProject().(FrameworkService) and exists to support our use of DI and ServiceLocators, where we sometimes need to resolve this type as a FrameworkService instance instead of a CompositeFrameworkService as [NewDockerProject] does.
NewDotNetContainerAppTarget creates the Service Target for a Container App that is written in .NET.
No description provided by the author
NewDotNetProject creates a new instance of a dotnet project.
NewFunctionAppTarget creates a new instance of the Function App target.
No description provided by the author
NewMavenProject creates a new instance of a maven project.
NewNoOpProject creates a new instance of a no-op project, which implements the FrameworkService interface but does not perform any actions.
NewNpmProject creates a new instance of a NPM project.
NewProjectManager creates a new instance of the ProjectManager.
NewPythonProject creates a new instance of the Python project.
NewResourceManager creates a new instance of the project resource manager.
NewServiceDeployResult is a helper function to create a new ServiceDeployResult.
NewServiceManager creates a new instance of the ServiceManager component.
NewServiceProgress is a helper method to create a new progress message with a current timestamp.
NewSpringAppTarget creates the spring app service target.
NewStaticWebAppTarget creates a new instance of the Static Web App target.
NewSwaProject creates a new instance of a Azd project that leverages swa cli for building.
NewSwaProjectAsFrameworkService is the same as NewSwaProject().(FrameworkService) and exists to support our use of DI and ServiceLocators, where we sometimes need to resolve this type as a FrameworkService instance instead of a CompositeFrameworkService as [NewSwaProject] does.
No description provided by the author
Parse will parse a project from a yaml string and return the project configuration.
Saves the current instance back to the azure.yaml file.
No description provided by the author
# Constants
AiDeploymentEnvVarName is the environment variable name for the Azure AI deployment name.
AiEndpointEnvVarName is the environment variable name for the Azure AI endpoint name.
No description provided by the author
#nosec G101 - Potential hardcoded credentials - false positive */ AiEnvironmentEnvVarName is the environment variable name for the Azure AI environment name.
AiFlowEnvVarName is the environment variable name for the Azure AI flow name.
AiHubNameEnvVarName is the environment variable name for the Azure AI Hub name.
AiModelEnvVarName is the environment variable name for the Azure AI model name.
AiProjectNameEnvVarName is the environment variable name for the Azure AI project name.
No description provided by the author
The default, conventional App Service Java package name.
No description provided by the author
No description provided by the author
No description provided by the author
Default builder image to produce container images from source, needn't java jdk storage, use the standard bp.
defaultOptions for infra settings.
defaultOptions for infra settings.
TODO: Enhance for multi-environment support https://github.com/Azure/azure-dev/issues/1152.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AiEndpointDeploymentResult is a struct to hold the result of an online endpoint deployment.
The AKS deployment options.
The AKS ingress options.
The AKS configuration options.
The AKS service configuration options.
No description provided by the author
No description provided by the author
No description provided by the author
DotNetImporter is an importer that is able to import projects and infrastructure from a manifest produced by a .NET App.
No description provided by the author
No description provided by the author
No description provided by the author
Infra represents the (possibly temporarily generated) infrastructure.
No description provided by the author
options supported in azure.yaml.
ProjectConfig is the top level object serialized into an azure.yaml file.
Project lifecycle event arguments.
No description provided by the author
RequiredVersions contains information about what versions of tools this project requires.
ServiceBuildResult is the result of a successful Build operation.
No description provided by the author
ServiceDeployResult is the result of a successful Deploy operation.
ServiceLifecycleEventArgs are the event arguments available when any service lifecycle event has been triggered.
ServicePackageResult is the result of a successful Package operation.
ServiceProgress represents an incremental progress message during a service operation such as restore, build, package & deploy.
ServiceRestoreResult is the result of a successful Restore operation.
The Azure Spring Apps configuration options.
# Interfaces
No description provided by the author
CompositeFrameworkService is a framework service that requires a nested framework service.
FrameworkService is an abstraction for a programming language or framework that describe the required tools as well as implementations for restore and build commands.
ProjectManager provides a layer for working with root level azd projects and invoking project specific commands.
ResourceManager provides a layer to query for Azure resource for azd project and services This would typically be used during deployment when azd need to deploy applications to the Azure resource hosting the application.
ServiceManager provides a management layer for performing operations against an azd service within a project The component performs all of the heavy lifting for executing all lifecycle operations for a service.
No description provided by the author
# Type aliases
HooksConfig is an alias for map of hook names to slice of hook configurations This custom alias type is used to help support YAML unmarshalling of legacy single hook configurations and new multiple hook configurations.
Function definition for project events.
ServiceFilterPredicate is a function that can be used to filter services that match a given criteria.
No description provided by the author
ServiceOperationCache is an alias to map used for internal caching of service operation results The ServiceManager is a scoped component since it depends on the current environment The ServiceOperationCache is used as a singleton cache for all service manager instances.
No description provided by the author