Documentation ¶
Index ¶
- Variables
- func ConstructSpec(d *schema.ResourceData) (spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec)
- func FlattenSpec(spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec) (data []interface{})
- func ValidateInput(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
- type Recipe
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RecipesAllowed = [...]string{reciperesource.PodSecurityKey, reciperesource.LabelKey, reciperesource.AnnotationKey}
)
Functions ¶
func ConstructSpec ¶
func ConstructSpec(d *schema.ResourceData) (spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec)
func FlattenSpec ¶
func FlattenSpec(spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec) (data []interface{})
func ValidateInput ¶
func ValidateInput(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
Types ¶
type Recipe ¶
type Recipe string
const ( ResourceName = "tanzu-mission-control_mutation_policy" UnknownRecipe Recipe = policy.UnknownRecipe PodSecurityRecipe Recipe = recipe.PodSecurityKey LabelRecipe Recipe = recipe.LabelKey AnnotationRecipe Recipe = recipe.AnnotationKey )
Click to show internal directories.
Click to hide internal directories.