Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecipeData ¶
type RecipeData struct { RecipeProperties // APIVersion is the API version to use to perform operations on resources. // For example for Azure resources, every service has different REST API version that must be specified in the request. APIVersion string // Resource ids of the resources deployed by the recipe Resources []string }
type RecipeProperties ¶
type RecipeProperties struct { ResourceRecipe // ResourceRecipe is the recipe of the resource to be deployed ResourceType string // ResourceType represent the type of the resource TemplatePath string // TemplatePath represent the recipe location EnvParameters map[string]any // EnvParameters represents the parameters set by the operator while linking the recipe to an environment }
RecipeProperties represents the information needed to deploy a recipe
type ResourceProvisioning ¶
type ResourceProvisioning string
ResourceProvisioning specifies how the resource should be managed
const ( // ResourceProvisioningRecipe is the scenario when Radius manages the lifecycle of the resource through a Recipe. ResourceProvisioningRecipe ResourceProvisioning = "recipe" // ResourceProvisioningManual is the scenario where the user manages the resource and provides values. ResourceProvisioningManual ResourceProvisioning = "manual" // DefaultRecipeName represents the default recipe name. DefaultRecipeName = "default" )
type ResourceRecipe ¶
type ResourceRecipe struct { // Name of the recipe within the environment to use Name string `json:"name,omitempty"` // Parameters are key/value parameters to pass into the recipe at deployment Parameters map[string]any `json:"parameters,omitempty"` // DeploymentStatus is the deployment status of the recipe DeploymentStatus util.RecipeDeploymentStatus `json:"recipeStatus,omitempty"` }
ResourceRecipe is the recipe details used to automatically deploy underlying infrastructure for a resource.
type ResourceReference ¶
type ResourceReference struct {
ID string `json:"id"`
}
ResourceReference represents a reference to a resource that was deployed by the user and specified as part of a portable resource.
This type should be used in datamodels for the '.properties.resources' field.
Directories
¶
Path | Synopsis |
---|---|
backend
|
|
processors contains the shared logic and interfaces for implementing a resource processor.
|
processors contains the shared logic and interfaces for implementing a resource processor. |
Click to show internal directories.
Click to hide internal directories.