Documentation ¶
Index ¶
Constants ¶
View Source
const ( FullClusterBackupScheduleResourceName = "test_full_cluster_backup" FullClusterBackupScheduleName = "full-cluster-backup" NamespacesBackupScheduleResourceName = "test_namespaces_backup" NamespacesBackupScheduleName = "namespaces-backup" LabelsBackupScheduleResourceName = "test_labels_backup" LabelsBackupScheduleName = "labels-backup" )
View Source
const (
DataSourceName = "test_cluster_scope"
)
Variables ¶
View Source
var ( FullClusterBackupScheduleResourceFullName = fmt.Sprintf("%s.%s", backupscheduleres.ResourceName, FullClusterBackupScheduleResourceName) NamespacesBackupScheduleResourceFullName = fmt.Sprintf("%s.%s", backupscheduleres.ResourceName, NamespacesBackupScheduleResourceName) LabelsBackupScheduleResourceFullName = fmt.Sprintf("%s.%s", backupscheduleres.ResourceName, LabelsBackupScheduleResourceName) )
View Source
var (
DataSourceFullName = fmt.Sprintf("data.%s.%s", backupscheduleres.ResourceName, DataSourceName)
)
Functions ¶
This section is empty.
Types ¶
type DataSourceBuildMode ¶
type DataSourceBuildMode string
const ( DsFullBuild DataSourceBuildMode = "FULL" DsNoParentRs DataSourceBuildMode = "NO_PARENT_RESOURCE" )
type DataSourceTFConfigBuilder ¶
func InitDataSourceTFConfigBuilder ¶
func InitDataSourceTFConfigBuilder(scopeHelper *commonscope.ScopeHelperResources, resourceConfigBuilder *ResourceTFConfigBuilder, bMode DataSourceBuildMode) *DataSourceTFConfigBuilder
func (*DataSourceTFConfigBuilder) GetDataSourceConfig ¶
func (builder *DataSourceTFConfigBuilder) GetDataSourceConfig() string
type ResourceBuildMode ¶
type ResourceBuildMode string
const ( RsFullBuild ResourceBuildMode = "FULL" RsDataProtectionParentRsOnly ResourceBuildMode = "DATA_PROTECTION_ONLY" RsTargetLocationParentRsOnly ResourceBuildMode = "TARGET_LOCATION_ONLY" RsNoParentRs ResourceBuildMode = "NO_PARENT_RS" )
type ResourceTFConfigBuilder ¶
type ResourceTFConfigBuilder struct { DataProtectionRequiredResource string TargetLocationRequiredResource string ClusterInfo string TargetLocationInfo string }
func InitResourceTFConfigBuilder ¶
func InitResourceTFConfigBuilder(scopeHelper *commonscope.ScopeHelperResources, bMode ResourceBuildMode, tmcManageCredentials string) *ResourceTFConfigBuilder
func (*ResourceTFConfigBuilder) GetFullClusterBackupScheduleConfig ¶
func (builder *ResourceTFConfigBuilder) GetFullClusterBackupScheduleConfig() string
func (*ResourceTFConfigBuilder) GetLabelsBackupScheduleConfig ¶
func (builder *ResourceTFConfigBuilder) GetLabelsBackupScheduleConfig() string
func (*ResourceTFConfigBuilder) GetNamespacesBackupScheduleConfig ¶
func (builder *ResourceTFConfigBuilder) GetNamespacesBackupScheduleConfig() string
Click to show internal directories.
Click to hide internal directories.