Documentation ¶
Index ¶
- Constants
- Variables
- func ConstructSpec(d *schema.ResourceData) (spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec)
- func FlattenSpec(spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec) (data []interface{})
- func ValidateInput(ctx context.Context, diff *schema.ResourceDiff, i interface{}) error
- type Recipe
Constants ¶
View Source
const (
ResourceName = "tanzu-mission-control_custom_policy"
)
Variables ¶
Functions ¶
func ConstructSpec ¶
func ConstructSpec(d *schema.ResourceData) (spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec)
func FlattenSpec ¶
func FlattenSpec(spec *policymodel.VmwareTanzuManageV1alpha1CommonPolicySpec) (data []interface{})
func ValidateInput ¶
func ValidateInput(ctx context.Context, diff *schema.ResourceDiff, i interface{}) error
Types ¶
type Recipe ¶
type Recipe string
const ( UnknownRecipe Recipe = policy.UnknownRecipe TMCBlockNodeportServiceRecipe Recipe = reciperesource.TMCBlockNodeportServiceKey TMCBlockResourcesRecipe Recipe = reciperesource.TMCBlockResourcesKey TMCBlockRolebindingSubjectsRecipe Recipe = reciperesource.TMCBlockRolebindingSubjectsKey TMCExternalIPSRecipe Recipe = reciperesource.TMCExternalIPSKey TMCHTTPSIngressRecipe Recipe = reciperesource.TMCHTTPSIngressKey TMCRequireLabelsRecipe Recipe = reciperesource.TMCRequireLabelsKey )
Allowed input recipes.
Click to show internal directories.
Click to hide internal directories.