Documentation ¶
Index ¶
- Constants
- Variables
- type DataSourceBuildMode
- type DataSourceTFConfigBuilder
- type ResourceBuildMode
- type ResourceTFConfigBuilder
- func (builder *ResourceTFConfigBuilder) GetAWSSelfManagedTargetLocationConfig() string
- func (builder *ResourceTFConfigBuilder) GetAzureSelfManagedTargetLocationConfig(azureCredentialsName string) string
- func (builder *ResourceTFConfigBuilder) GetTMCManagedTargetLocationConfig(tmcManageCredentials string) string
Constants ¶
View Source
const ( ClusterDataSourceName = "test_cluster_scope" ProviderDataSourceName = "test_provider_scope" )
View Source
const ( TmcManagedResourceName = "test_tmc_managed" TargetLocationTMCManagedName = "tmc-managed-test" AwsSelfManagedResourceName = "test_aws_self_managed" TargetLocationAWSSelfManagedName = "aws-self-managed-test" AzureSelfManagedResourceName = "test_azure_self_managed" TargetLocationAzureSelfManagedName = "azure-self-managed-test" )
Variables ¶
View Source
var ( ClusterDataSourceFullName = fmt.Sprintf("data.%s.%s", targetlocationres.ResourceName, ClusterDataSourceName) ProviderDataSourceFullName = fmt.Sprintf("data.%s.%s", targetlocationres.ResourceName, ProviderDataSourceName) )
View Source
var ( TmcManagedResourceFullName = fmt.Sprintf("%s.%s", targetlocationres.ResourceName, TmcManagedResourceName) AwsSelfManagedResourceFullName = fmt.Sprintf("%s.%s", targetlocationres.ResourceName, AwsSelfManagedResourceName) AzureSelfManagedResourceFullName = fmt.Sprintf("%s.%s", targetlocationres.ResourceName, AzureSelfManagedResourceName) )
Functions ¶
This section is empty.
Types ¶
type DataSourceBuildMode ¶
type DataSourceBuildMode string
const ( DsFullBuild DataSourceBuildMode = "FULL" DsNoParentRs DataSourceBuildMode = "NO_PARENT_RESOURCE" )
type DataSourceTFConfigBuilder ¶
type DataSourceTFConfigBuilder struct { DataProtectionRequiredResource string TargetLocationRequiredResource string ClusterInfo string }
func InitDataSourceTFConfigBuilder ¶
func InitDataSourceTFConfigBuilder(scopeHelper *commonscope.ScopeHelperResources, resourceConfigBuilder *ResourceTFConfigBuilder, bMode DataSourceBuildMode, tmcManageCredentials string) *DataSourceTFConfigBuilder
func (*DataSourceTFConfigBuilder) GetClusterTargetLocationDataSourceConfig ¶
func (builder *DataSourceTFConfigBuilder) GetClusterTargetLocationDataSourceConfig() string
func (*DataSourceTFConfigBuilder) GetProviderTargetLocationDataSourceConfig ¶
func (builder *DataSourceTFConfigBuilder) GetProviderTargetLocationDataSourceConfig() string
type ResourceBuildMode ¶
type ResourceBuildMode string
const ( RsFullBuild ResourceBuildMode = "FULL" RsClusterOnly ResourceBuildMode = "CLUSTER" RsClusterGroupOnly ResourceBuildMode = "CLUSTER_GROUP" RsClusterOnlyNoParentRs ResourceBuildMode = "CLUSTER_NO_PARENT_RESOURCE" RsClusterGroupOnlyNoParentRs ResourceBuildMode = "CLUSTER_GROUP_NO_PARENT_RESOURCE" )
type ResourceTFConfigBuilder ¶
func InitResourceTFConfigBuilder ¶
func InitResourceTFConfigBuilder(scopeHelper *commonscope.ScopeHelperResources, bMode ResourceBuildMode) *ResourceTFConfigBuilder
func (*ResourceTFConfigBuilder) GetAWSSelfManagedTargetLocationConfig ¶
func (builder *ResourceTFConfigBuilder) GetAWSSelfManagedTargetLocationConfig() string
func (*ResourceTFConfigBuilder) GetAzureSelfManagedTargetLocationConfig ¶
func (builder *ResourceTFConfigBuilder) GetAzureSelfManagedTargetLocationConfig(azureCredentialsName string) string
func (*ResourceTFConfigBuilder) GetTMCManagedTargetLocationConfig ¶
func (builder *ResourceTFConfigBuilder) GetTMCManagedTargetLocationConfig(tmcManageCredentials string) string
Click to show internal directories.
Click to hide internal directories.