Documentation ¶
Index ¶
Constants ¶
View Source
const ( ManagementClusterNameKey = "management_cluster_name" ProvisionerNameKey = "provisioner_name" ClusterNameKey = "cluster_name" ClusterGroupNameKey = "cluster_group_name" ScopeKey = "scope" ClusterKey = "cluster" ClusterGroupKey = "cluster_group" )
Variables ¶
This section is empty.
Functions ¶
func ConstructClusterGroupScopeFullname ¶
func ConstructClusterGroupScopeFullname(data []interface{}) (fullname *dataprotectioncgmodels.VmwareTanzuManageV1alpha1ClustergroupDataprotectionFullName)
func ConstructClusterScopeFullname ¶
func ConstructClusterScopeFullname(data []interface{}) (fullname *dataprotectionmodels.VmwareTanzuManageV1alpha1ClusterDataprotectionFullName)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope Scope FullnameCluster *dataprotectionmodels.VmwareTanzuManageV1alpha1ClusterDataprotectionFullName FullnameClusterGroup *dataprotectioncgmodels.VmwareTanzuManageV1alpha1ClustergroupDataprotectionFullName }
ScopedFullname is a struct for all types of policy full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData) (scopedFullnameData *ScopedFullname)
type ValidateScopeType ¶
type ValidateScopeType func(ctx context.Context, diff *schema.ResourceDiff, i interface{}) error
func ValidateScope ¶
func ValidateScope(scopesAllowed []string) ValidateScopeType
Click to show internal directories.
Click to hide internal directories.