Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RecipeContextParameter is the parameter context for recipe deployment RecipeContextParameter string = "context" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortableResourceMetadata ¶
type PortableResourceMetadata struct {
// ComputedValues map is any resource values that will be needed for more operations.
// For example; database name to generate secrets for cosmos DB.
ComputedValues map[string]any `json:"computedValues,omitempty"`
// Stores action to retrieve secret values. For Azure, connectionstring is accessed through cosmos listConnectionString operation, if secrets are not provided as input
SecretValues map[string]rpv1.SecretValueReference `json:"secretValues,omitempty"`
RecipeData portableresources.RecipeData `json:"recipeData,omitempty"`
}
PortableResourceMetadata represents internal DataModel properties common to all portable resource types.
type RecipeDataModel ¶
type RecipeDataModel interface {
// GetRecipe provides access to the user-specified recipe configuration. Can return nil.
GetRecipe() *portableresources.ResourceRecipe
// SetRecipe sets the recipe configuration for the resource.
SetRecipe(*portableresources.ResourceRecipe)
}
RecipeDataModel should be implemented on the datamodel of types that support recipes.
Click to show internal directories.
Click to hide internal directories.