Documentation
¶
Index ¶
- Constants
- func New() provider.Provider
- func NewBackupDataSource() datasource.DataSource
- func NewCertificateResource() resource.Resource
- func NewCertificatesDatasource() datasource.DataSource
- func NewCloudAccountResource() resource.Resource
- func NewCloudAccountsDatasource() datasource.DataSource
- func NewClusterBackupResource() resource.Resource
- func NewClusterMetadataDataSource() datasource.DataSource
- func NewClusterNetworkPoliciesAssociationResource() resource.Resource
- func NewClusterResource() resource.Resource
- func NewClusterTargetVersionsDataSource() datasource.DataSource
- func NewClusterVersionsDataSource() datasource.DataSource
- func NewClustersDatasource() datasource.DataSource
- func NewDataPlaneDatasource() datasource.DataSource
- func NewDataPlaneHelmReleaseDatasource() datasource.DataSource
- func NewDataPlaneResource() resource.Resource
- func NewDnsDatasource() datasource.DataSource
- func NewEligibleDataPlanesDatasource() datasource.DataSource
- func NewFleetHealthDatasource() datasource.DataSource
- func NewInstanceTypesDataSource() datasource.DataSource
- func NewK8sClustersDatasource() datasource.DataSource
- func NewLocalUserResource() resource.Resource
- func NewLocalUsersDataSource() datasource.DataSource
- func NewMdsPoliciesDatasource() datasource.DataSource
- func NewNetworkPoliciesDataSource() datasource.DataSource
- func NewNetworkPolicyResource() resource.Resource
- func NewNetworkPortsDataSource() datasource.DataSource
- func NewObjectStorageDatasource() datasource.DataSource
- func NewObjectStorageResource() resource.Resource
- func NewOrganizationsDatasource() datasource.DataSource
- func NewPolicyResource() resource.Resource
- func NewPolicyTypesDataSource() datasource.DataSource
- func NewProviderTypesDataSource() datasource.DataSource
- func NewRegionsDataSource() datasource.DataSource
- func NewRestoresDataSource() datasource.DataSource
- func NewRolesDataSource() datasource.DataSource
- func NewServiceAccountResource() resource.Resource
- func NewServiceAccountsDataSource() datasource.DataSource
- func NewServiceExtensionsDataSource() datasource.DataSource
- func NewServiceRolesDatasource() datasource.DataSource
- func NewSmtpDatasource() datasource.DataSource
- func NewSmtpResource() resource.Resource
- func NewStorageClassDataSource() datasource.DataSource
- func NewTasksDataSource() datasource.DataSource
- func NewUserResource() resource.Resource
- func NewUsersDataSource() datasource.DataSource
- type AccountModel
- type BackupMetadata
- type BackupMetadataExtension
- type CertificateModel
- type CertificateResourceModel
- type CloudAccountResourceModel
- type ClusterCountModel
- type ClusterStatus
- type CustomerClusterModel
- type DNSModel
- type DataPlaneModel
- type DnsDataSourceModel
- type EligibleDataPlanesDatasourceModel
- type FleetHealthDataSourceModel
- type FleetsModel
- type K8sCluster
- type K8sClustersDatasourceModel
- type MetadataModel
- type NetworkSpecModel
- type ObjectStorageResourceModel
- type PermissionSpecModel
- type RegionsModel
- type ResourceByServiceModel
- type RestoreInfoModel
- type RolesModel
- type ServerModel
- type ServiceAccountCredential
- type ServiceAccountOauthApp
- type ServiceRolesDataSourceModel
- type ServiceRolesModel
- type SmtpDataSourceModel
- type SmtpResourceModal
- type StorageClassDataSourceModel
- type StorageClassModel
- type TTLSpecModel
Constants ¶
const ( EnvHost = "TDH_HOST" EnvUsername = "TDH_USERNAME" EnvPassword = "TDH_PASSWORD" EnvOrgId = "TDH_ORG_ID" )
Variables ¶
This section is empty.
Functions ¶
func NewBackupDataSource ¶ added in v0.0.5
func NewBackupDataSource() datasource.DataSource
NewBackupDataSource is a helper function to simplify the provider implementation.
func NewCertificateResource ¶
func NewCertificatesDatasource ¶
func NewCertificatesDatasource() datasource.DataSource
NewCertificatesDatasource is a helper function to simplify the provider implementation.
func NewCloudAccountResource ¶
func NewCloudAccountsDatasource ¶
func NewCloudAccountsDatasource() datasource.DataSource
NewCloudAccountsDatasource is a helper function to simplify the provider implementation.
func NewClusterBackupResource ¶ added in v0.0.6
func NewClusterMetadataDataSource ¶
func NewClusterMetadataDataSource() datasource.DataSource
func NewClusterResource ¶
func NewClusterTargetVersionsDataSource ¶ added in v0.0.7
func NewClusterTargetVersionsDataSource() datasource.DataSource
func NewClusterVersionsDataSource ¶ added in v0.0.6
func NewClusterVersionsDataSource() datasource.DataSource
func NewClustersDatasource ¶
func NewClustersDatasource() datasource.DataSource
NewClustersDatasource is a helper function to simplify the provider implementation.
func NewDataPlaneDatasource ¶ added in v0.0.5
func NewDataPlaneDatasource() datasource.DataSource
NewDataPlaneDatasource is a helper function to simplify the provider implementation.
func NewDataPlaneHelmReleaseDatasource ¶ added in v0.0.5
func NewDataPlaneHelmReleaseDatasource() datasource.DataSource
NewDataPlaneHelmReleaseDatasource is a helper function to simplify the provider implementation.
func NewDataPlaneResource ¶ added in v0.0.4
func NewDnsDatasource ¶ added in v0.0.5
func NewDnsDatasource() datasource.DataSource
NewDnsDatasource is a helper function to simplify the provider implementation.
func NewEligibleDataPlanesDatasource ¶ added in v0.0.5
func NewEligibleDataPlanesDatasource() datasource.DataSource
NewEligibleDataPlanesDatasource is a helper function to simplify the provider implementation.
func NewFleetHealthDatasource ¶ added in v0.0.5
func NewFleetHealthDatasource() datasource.DataSource
NewFleetHealthDatasource is a helper function to simplify the provider implementation.
func NewInstanceTypesDataSource ¶
func NewInstanceTypesDataSource() datasource.DataSource
NewInstanceTypesDataSource is a helper function to simplify the provider implementation.
func NewK8sClustersDatasource ¶ added in v0.0.5
func NewK8sClustersDatasource() datasource.DataSource
NewK8sClustersDatasource is a helper function to simplify the provider implementation.
func NewLocalUserResource ¶ added in v0.0.4
func NewLocalUsersDataSource ¶ added in v0.0.4
func NewLocalUsersDataSource() datasource.DataSource
func NewMdsPoliciesDatasource ¶
func NewMdsPoliciesDatasource() datasource.DataSource
NewMdsPoliciesDatasource is a helper function to simplify the provider implementation.
func NewNetworkPoliciesDataSource ¶
func NewNetworkPoliciesDataSource() datasource.DataSource
NewNetworkPoliciesDataSource is a helper function to simplify the provider implementation.
func NewNetworkPortsDataSource ¶
func NewNetworkPortsDataSource() datasource.DataSource
func NewObjectStorageDatasource ¶
func NewObjectStorageDatasource() datasource.DataSource
NewObjectStorageDatasource is a helper function to simplify the provider implementation.
func NewOrganizationsDatasource ¶ added in v1.1.3
func NewOrganizationsDatasource() datasource.DataSource
NewOrganizationsDatasource is a helper function to simplify the provider implementation.
func NewPolicyResource ¶
func NewPolicyTypesDataSource ¶
func NewPolicyTypesDataSource() datasource.DataSource
func NewProviderTypesDataSource ¶
func NewProviderTypesDataSource() datasource.DataSource
func NewRegionsDataSource ¶
func NewRegionsDataSource() datasource.DataSource
func NewRestoresDataSource ¶ added in v0.0.6
func NewRestoresDataSource() datasource.DataSource
NewRestoresDataSource is a helper function to simplify the provider implementation.
func NewRolesDataSource ¶
func NewRolesDataSource() datasource.DataSource
NewRolesDataSource is a helper function to simplify the provider implementation.
func NewServiceAccountsDataSource ¶
func NewServiceAccountsDataSource() datasource.DataSource
func NewServiceExtensionsDataSource ¶ added in v0.0.7
func NewServiceExtensionsDataSource() datasource.DataSource
func NewServiceRolesDatasource ¶
func NewServiceRolesDatasource() datasource.DataSource
NewServiceRolesDatasource is a helper function to simplify the provider implementation.
func NewSmtpDatasource ¶ added in v0.0.5
func NewSmtpDatasource() datasource.DataSource
NewSmtpDatasource is a helper function to simplify the provider implementation.
func NewSmtpResource ¶ added in v0.0.5
func NewStorageClassDataSource ¶ added in v0.0.5
func NewStorageClassDataSource() datasource.DataSource
func NewTasksDataSource ¶ added in v0.0.4
func NewTasksDataSource() datasource.DataSource
func NewUserResource ¶
func NewUsersDataSource ¶
func NewUsersDataSource() datasource.DataSource
NewUsersDataSource is a helper function to simplify the provider implementation.
Types ¶
type AccountModel ¶ added in v0.0.5
type BackupMetadata ¶ added in v0.0.5
type BackupMetadata struct { ClusterName types.String `tfsdk:"cluster_name"` ClusterSize types.String `tfsdk:"cluster_size"` BackupLocation types.String `tfsdk:"backup_location"` Databases []string `tfsdk:"databases"` Extensions []BackupMetadataExtension `tfsdk:"extensions"` }
BackupMetadata maps order item data.
type BackupMetadataExtension ¶ added in v0.0.6
type CertificateModel ¶
type CertificateResourceModel ¶
type CertificateResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` DomainName types.String `tfsdk:"domain_name"` ProviderType types.String `tfsdk:"provider_type"` ExpirationTime types.String `tfsdk:"expiration_time"` CreatedBy types.String `tfsdk:"created_by"` Certificate types.String `tfsdk:"certificate"` CertificateCA types.String `tfsdk:"certificate_ca"` CertificateKey types.String `tfsdk:"certificate_key"` Tags types.Set `tfsdk:"tags"` }
type CloudAccountResourceModel ¶
type CloudAccountResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProviderType types.String `tfsdk:"provider_type"` Credential types.String `tfsdk:"credentials"` Tags types.Set `tfsdk:"tags"` UserEmail types.String `tfsdk:"user_email"` OrgId types.String `tfsdk:"org_id"` CreatedBy types.String `tfsdk:"created_by"` DataPlaneCount types.Int64 `tfsdk:"data_plane_count"` }
type ClusterCountModel ¶ added in v0.0.5
type ClusterStatus ¶ added in v0.0.5
type CustomerClusterModel ¶ added in v0.0.5
type DataPlaneModel ¶ added in v0.0.5
type DataPlaneModel struct { ID types.String `tfsdk:"id"` Provider types.String `tfsdk:"provider"` Region types.String `tfsdk:"region"` Name types.String `tfsdk:"name"` DataPlaneName types.String `tfsdk:"data_plane_name"` Version types.String `tfsdk:"version"` Tags types.Set `tfsdk:"tags"` Status types.String `tfsdk:"status"` Account AccountModel `tfsdk:"account"` HelmVersionId types.String `tfsdk:"data_plane_release_id"` HelmVersion types.String `tfsdk:"data_plane_release_name"` AutoUpgrade types.Bool `tfsdk:"auto_upgrade"` Created types.String `tfsdk:"created"` Modified types.String `tfsdk:"modified"` Certificate CertificateModel `tfsdk:"certificate"` DefaultPolicyName types.String `tfsdk:"default_policy_name"` StoragePolicies types.Set `tfsdk:"storage_policies"` BackupStoragePolicy types.String `tfsdk:"backup_storage_policy"` Services types.Set `tfsdk:"services"` DataPlaneOnControlPlane types.Bool `tfsdk:"data_plane_on_control_plane"` }
type DnsDataSourceModel ¶ added in v0.0.5
DnsDataSourceModel maps the data source schema data.
type EligibleDataPlanesDatasourceModel ¶ added in v0.0.5
type EligibleDataPlanesDatasourceModel struct { Id types.String `tfsdk:"id"` Provider types.String `tfsdk:"provider_name"` OrgId types.String `tfsdk:"org_id"` List []dataPlaneModel `tfsdk:"list"` }
EligibleDataPlanesDatasourceModel maps the data source schema data.
type FleetHealthDataSourceModel ¶ added in v0.0.5
type FleetHealthDataSourceModel struct { Id types.String `tfsdk:"id"` TotalOrgCount types.Int64 `tfsdk:"total_org_count"` TotalHealthyCount types.Int64 `tfsdk:"total_healthy_org_count"` TotalUnHealthyCount types.Int64 `tfsdk:"total_unhealthy_org_count"` DedicatedDataPlanes types.Int64 `tfsdk:"dedicated_data_planes"` HealthyDataPlanes types.Int64 `tfsdk:"healthy_data_planes"` TotalDataPlanes types.Int64 `tfsdk:"total_data_planes"` UnhealthyDataPlanes types.Int64 `tfsdk:"unhealthy_data_planes"` ClusterCount []ClusterCountModel `tfsdk:"cluster_counts"` ResourceByService []ResourceByServiceModel `tfsdk:"resource_by_service"` FleetDetails []FleetsModel `tfsdk:"fleets"` }
FleetHealthDataSourceModel maps the data source schema data.
type FleetsModel ¶ added in v0.0.5
type FleetsModel struct { OrgName types.String `tfsdk:"org_name"` ClusterStatus ClusterStatus `tfsdk:"cluster_status"` ClusterCounts types.Int64 `tfsdk:"cluster_counts"` CustomerClusterInfo []CustomerClusterModel `tfsdk:"customer_cluster_info"` CustomerCumulativeStatus types.String `tfsdk:"org_status"` SreOrg types.Bool `tfsdk:"sre_org"` }
type K8sCluster ¶ added in v0.0.5
type K8sClustersDatasourceModel ¶ added in v0.0.5
type K8sClustersDatasourceModel struct { Id types.String `tfsdk:"id"` CloudAccountId types.String `tfsdk:"account_id"` List []K8sCluster `tfsdk:"list"` }
K8sClustersDatasourceModel maps the data source schema data.
type MetadataModel ¶
type NetworkSpecModel ¶
type ObjectStorageResourceModel ¶
type ObjectStorageResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` BucketName types.String `tfsdk:"bucket_name"` Endpoint types.String `tfsdk:"endpoint"` Region types.String `tfsdk:"region"` AccessKeyId types.String `tfsdk:"access_key_id"` SecretAccessKey types.String `tfsdk:"secret_access_key"` }
type PermissionSpecModel ¶
type RegionsModel ¶
type ResourceByServiceModel ¶ added in v0.0.5
type RestoreInfoModel ¶ added in v0.0.6
type RolesModel ¶
type ServerModel ¶ added in v0.0.5
type ServerModel struct { Host types.String `tfsdk:"host"` Port types.Int64 `tfsdk:"port"` Protocol types.String `tfsdk:"protocol"` ServerType types.String `tfsdk:"server_type"` }
ServerModel maps role schema data.
type ServiceAccountOauthApp ¶
type ServiceAccountOauthApp struct { OauthAppId types.String `tfsdk:"app_id"` AppType types.String `tfsdk:"app_type"` Created types.String `tfsdk:"created"` CreatedBy types.String `tfsdk:"created_by"` Description types.String `tfsdk:"description"` Modified types.String `tfsdk:"modified"` ModifiedBy types.String `tfsdk:"modified_by"` TTLSpec TTLSpecModel `tfsdk:"ttl_spec"` }
type ServiceRolesDataSourceModel ¶
type ServiceRolesDataSourceModel struct { Id types.String `tfsdk:"id"` List []ServiceRolesModel `tfsdk:"list"` Type types.String `tfsdk:"type"` }
ServiceRolesDataSourceModel maps the data source schema data.
type ServiceRolesModel ¶
type ServiceRolesModel struct { RoleId types.String `tfsdk:"role_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Type types.String `tfsdk:"type"` PermissionId types.String `tfsdk:"permission_id"` }
ServiceRolesModel maps role schema data.
type SmtpDataSourceModel ¶ added in v0.0.5
type SmtpDataSourceModel struct { Id types.String `tfsdk:"id"` AuthenticationEnabled types.String `tfsdk:"auth"` TlsEnabled types.String `tfsdk:"tls"` FromEmail types.String `tfsdk:"from_email"` UserName types.String `tfsdk:"user_name"` Host types.String `tfsdk:"host"` Port types.String `tfsdk:"port"` }
SmtpDataSourceModel maps the data source schema data.
type SmtpResourceModal ¶ added in v0.0.5
type SmtpResourceModal struct { ID types.String `tfsdk:"id"` Host types.String `tfsdk:"host"` Port types.String `tfsdk:"port"` From types.String `tfsdk:"from"` UserName types.String `tfsdk:"user_name"` Password types.String `tfsdk:"password"` TlsEnabled types.String `tfsdk:"tls"` Auth types.String `tfsdk:"auth"` }
type StorageClassDataSourceModel ¶ added in v0.0.5
type StorageClassDataSourceModel struct { AccountId types.String `tfsdk:"cloud_account_id"` K8SClusterName types.String `tfsdk:"k8s_cluster_name"` StorageClasses []StorageClassModel `tfsdk:"list"` }
type StorageClassModel ¶ added in v0.0.5
Source Files
¶
- data_source_certificates.go
- data_source_cloud_accounts.go
- data_source_cluster_backups.go
- data_source_cluster_metadata.go
- data_source_cluster_restores.go
- data_source_cluster_target_versions.go
- data_source_clusters.go
- data_source_data_plane_helm_releases.go
- data_source_data_planes.go
- data_source_dns.go
- data_source_eligible_data_planes.go
- data_source_fleet_health.go
- data_source_instance_types.go
- data_source_k8s_clusters.go
- data_source_local_users.go
- data_source_network_policies.go
- data_source_network_ports.go
- data_source_object_storages.go
- data_source_organizations.go
- data_source_policies.go
- data_source_policy_types.go
- data_source_provider_types.go
- data_source_regions.go
- data_source_roles.go
- data_source_service_accounts.go
- data_source_service_extensions.go
- data_source_service_roles.go
- data_source_service_versions.go
- data_source_smtp.go
- data_source_storage_policies.go
- data_source_tasks.go
- data_source_users.go
- provider.go
- resource_certificate.go
- resource_cloud_account.go
- resource_cluster.go
- resource_cluster_backup.go
- resource_cluster_network_policies_association.go
- resource_data_plane.go
- resource_local_user.go
- resource_network_policy.go
- resource_object_storage.go
- resource_policy.go
- resource_service_account.go
- resource_smtp.go
- resource_user.go