Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ScopesAllowed = [...]string{commonscope.ClusterKey, commonscope.ClusterGroupKey} ScopeSchema = commonscope.GetScopeSchema( commonscope.WithDescription(fmt.Sprintf("Scope for the backup schedule, having one of the valid scopes: %v.", strings.Join(ScopesAllowed[:], `, `))), commonscope.WithScopes(ScopesAllowed[:])) )
Functions ¶
func ConstructClusterBackupScheduleFullname ¶
func ConstructClusterBackupScheduleFullname(data []interface{}, name string) (fullname *backupschedulemodels.VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName)
func ConstructClusterGroupBackupScheduleFullname ¶
func ConstructClusterGroupBackupScheduleFullname(data []interface{}, name string) (fullname *backupscheduleclustergroupmodel.VmwareTanzuManageV1alpha1ClustergroupDataprotectionScheduleFullName)
Types ¶
type ScopedFullname ¶
type ScopedFullname struct { Scope commonscope.Scope FullnameCluster *backupschedulemodel.VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName FullnameClusterGroup *cgbackupschedulemodel.VmwareTanzuManageV1alpha1ClustergroupDataprotectionScheduleFullName }
ScopedFullname is a struct for all types of backup schedule full names.
func ConstructScope ¶
func ConstructScope(d *schema.ResourceData, name string) (scopedFullnameData *ScopedFullname)
Click to show internal directories.
Click to hide internal directories.