Documentation ¶
Index ¶
- Constants
- Variables
- func AddOnStateRefreshFunc(platformAPI *heroku.Service, addOnID string) resource.StateRefreshFunc
- func ContainsString(s []string, str string) bool
- func DataConnectorCreateStateRefreshFunc(client *api.Client, dcID string) resource.StateRefreshFunc
- func DataConnectorDeleteStateRefreshFunc(client *api.Client, dcID string) resource.StateRefreshFunc
- func DataConnectorSettingsUpdateRefreshFunc(client *api.Client, connectorID string, settings map[string]interface{}) resource.StateRefreshFunc
- func DataConnectorStatusRefreshFunc(client *api.Client, dcID string, pendingState, targetState string) resource.StateRefreshFunc
- func FollowStateRefreshFunc(api *api.Client, dbID string) resource.StateRefreshFunc
- func KafkaMtlsIPRuleStateRefreshFunc(client *api.Client, kafkaID, ipRuleID string) resource.StateRefreshFunc
- func MTLSCertificateDeletionStateRefreshFunc(client *api.Client, dbName, certID string) resource.StateRefreshFunc
- func MTLSDeletionStateRefreshFunc(client *api.Client, dbName string) resource.StateRefreshFunc
- func MTLSSCertStateRefreshFunc(client *api.Client, dbName, certID string) resource.StateRefreshFunc
- func MTLSSCreationStateRefreshFunc(client *api.Client, dbName string) resource.StateRefreshFunc
- func MTLSSIPRuleStateRefreshFunc(client *api.Client, dbName, ipRuleID string) resource.StateRefreshFunc
- func New() *schema.Provider
- func PrivatelinkCreateStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
- func PrivatelinkDeleteStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
- func PrivatelinkUpdateStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
- func ShieldPrivateSpaceStateRefreshFunc(client *heroku.Service, spaceID string) resource.StateRefreshFunc
- type Config
Constants ¶
View Source
const ( DefaultMTLSProvisionVerifyTimeout = int64(10) DefaultMTLSMTLSDeprovisionVerifyTimeout = int64(10) DefaultMTLSIPRuleCreateVerifyTimeout = int64(20) DefaultMTLSCertificateCreateVerifyTimeout = int64(10) DefaultMTLSCertificateDeleteVerifyTimeout = int64(10) DefaultKafkaCGCreateVerifyTimeout = int64(10) DefaultKafkaCGDeleteVerifyTimeout = int64(10) DefaultKafkaTopicCreateVerifyTimeout = int64(10) DefaultKafkaTopicUpdateVerifyTimeout = int64(10) DefaultPrivatelinkCreateVerifyTimeout = int64(15) DefaultPrivatelinkDeleteVerifyTimeout = int64(15) DefaultPrivatelinkAllowedAccountsAddVerifyTimeout = int64(10) DefaultPrivatelinkAllowedAccountsRemoveVerifyTimeout = int64(10) DefaultDataConnectorCreateVerifyTimeout = int64(20) DefaultDataConnectorSettingsUpdateVerifyTimeout = int64(10) DefaultDataConnectorDeleteVerifyTimeout = int64(10) DefaultDataConnectorStatusUpdateVerifyTimeout = int64(10) DefaultPostgresCredentialPreCreateVerifyTimeout = int64(45) DefaultPostgresCredentialCreateVerifyTimeout = int64(10) DefaultPostgresCredentialDeleteVerifyTimeout = int64(10) DefaultPrivateSpaceCreateVerifyTimeout = int64(20) DefaultAppContainerReleaseVerifyTimeout = int64(20) DefaultPostgresSettingsModifyDelay = int64(2) DefaultConnectMappingModifyDelay = int64(15) )
View Source
const ( ReleaseStatusSucceeded = "succeeded" ReleaseStatusPending = "pending" ReleaseStatusError = "error" ReleaseStatusUnknown = "unknown" )
View Source
const (
CertExpirationDateFormat = "02 Jan 06 15:04 -0700" // store DateTime in RC822Z format.
)
View Source
const (
EveryTenMinFrequency = "every_ten_minutes"
)
View Source
const (
Leader = "leader"
)
View Source
const (
OneWeekInSeconds = 604800
)
View Source
const (
// StateRefreshPollIntervalFrequency defines the polling frequency.
StateRefreshPollIntervalFrequency = 20
)
View Source
const (
ValidCredentialNameRegex = `^[a-zA-Z0-9_-]{1,50}$`
)
Variables ¶
View Source
var ( // StateRefreshPollInterval defines the default polling interval in seconds. StateRefreshPollInterval = StateRefreshPollIntervalFrequency * time.Second )
View Source
var (
UserAgent = fmt.Sprintf("terraform-provider-herokux/v%s", version.ProviderVersion)
)
View Source
var (
ValidSchedulerJobDynoSizes = []string{
"Hobby", "Free", "Basic", "Eco",
"Standard-1X", "Standard-2X",
"Performance-M", "Performance-L",
"Private-S", "Private-M", "Private-L",
"Shield-S", "Shield-M", "Shield-L",
}
)
Functions ¶
func AddOnStateRefreshFunc ¶ added in v0.7.0
func AddOnStateRefreshFunc(platformAPI *heroku.Service, addOnID string) resource.StateRefreshFunc
AddOnStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an AddOn.
func ContainsString ¶ added in v0.16.0
func DataConnectorCreateStateRefreshFunc ¶ added in v0.7.0
func DataConnectorCreateStateRefreshFunc(client *api.Client, dcID string) resource.StateRefreshFunc
func DataConnectorDeleteStateRefreshFunc ¶ added in v0.7.0
func DataConnectorDeleteStateRefreshFunc(client *api.Client, dcID string) resource.StateRefreshFunc
func DataConnectorSettingsUpdateRefreshFunc ¶ added in v0.20.4
func DataConnectorStatusRefreshFunc ¶ added in v0.20.4
func FollowStateRefreshFunc ¶ added in v0.7.0
func FollowStateRefreshFunc(api *api.Client, dbID string) resource.StateRefreshFunc
FollowStateRefreshFunc checks if a DB is ready to be followed
func KafkaMtlsIPRuleStateRefreshFunc ¶ added in v0.29.0
func KafkaMtlsIPRuleStateRefreshFunc(client *api.Client, kafkaID, ipRuleID string) resource.StateRefreshFunc
func MTLSCertificateDeletionStateRefreshFunc ¶ added in v0.3.0
func MTLSCertificateDeletionStateRefreshFunc(client *api.Client, dbName, certID string) resource.StateRefreshFunc
func MTLSDeletionStateRefreshFunc ¶ added in v0.3.0
func MTLSDeletionStateRefreshFunc(client *api.Client, dbName string) resource.StateRefreshFunc
func MTLSSCertStateRefreshFunc ¶ added in v0.3.0
func MTLSSCertStateRefreshFunc(client *api.Client, dbName, certID string) resource.StateRefreshFunc
func MTLSSCreationStateRefreshFunc ¶ added in v0.2.0
func MTLSSCreationStateRefreshFunc(client *api.Client, dbName string) resource.StateRefreshFunc
func MTLSSIPRuleStateRefreshFunc ¶ added in v0.2.0
func MTLSSIPRuleStateRefreshFunc(client *api.Client, dbName, ipRuleID string) resource.StateRefreshFunc
func PrivatelinkCreateStateRefreshFunc ¶ added in v0.6.0
func PrivatelinkCreateStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
func PrivatelinkDeleteStateRefreshFunc ¶ added in v0.6.0
func PrivatelinkDeleteStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
func PrivatelinkUpdateStateRefreshFunc ¶ added in v0.6.0
func PrivatelinkUpdateStateRefreshFunc(client *api.Client, addonID string) resource.StateRefreshFunc
func ShieldPrivateSpaceStateRefreshFunc ¶ added in v0.11.0
func ShieldPrivateSpaceStateRefreshFunc(client *heroku.Service, spaceID string) resource.StateRefreshFunc
Types ¶
type Config ¶
type Config struct { API *api.Client PlatformAPI *heroku.Service Headers map[string]string // Custom Timeouts MTLSProvisionVerifyTimeout int64 MTLSDeprovisionVerifyTimeout int64 MTLSIPRuleCreateVerifyTimeout int64 MTLSCertificateCreateVerifyTimeout int64 MTLSCertificateDeleteVerifyTimeout int64 KafkaCGCreateVerifyTimeout int64 KafkaCGDeleteVerifyTimeout int64 KafkaTopicCreateVerifyTimeout int64 KafkaTopicUpdateVerifyTimeout int64 PrivatelinkCreateVerifyTimeout int64 PrivatelinkDeleteVerifyTimeout int64 PrivatelinkAllowedAccountsAddVerifyTimeout int64 PrivatelinkAllowedAccountsRemoveVerifyTimeout int64 DataConnectorCreateVerifyTimeout int64 DataConnectorSettingsUpdateVerifyTimeout int64 DataConnectorDeleteVerifyTimeout int64 DataConnectorStatusUpdateVerifyTimeout int64 PostgresCredentialCreateVerifyTimeout int64 PostgresCredentialPreCreateVerifyTimeout int64 PostgresCredentialDeleteVerifyTimeout int64 PrivateSpaceCreateVerifyTimeout int64 AppContainerReleaseVerifyTimeout int64 // Custom Delays PostgresSettingsModifyDelay int64 ConnectMappingModifyDelay int64 // contains filtered or unexported fields }
Source Files ¶
- config.go
- data_source_herokux_addons.go
- data_source_herokux_app_addons.go
- data_source_herokux_kafka_mtls_iprules.go
- data_source_herokux_postgres_mtls_certificate.go
- data_source_herokux_registry_image.go
- data_source_herokux_space_apps.go
- helpers.go
- provider.go
- resource_herokux_app_container_release.go
- resource_herokux_app_github_integration.go
- resource_herokux_app_webhook.go
- resource_herokux_connect_mappings.go
- resource_herokux_data_connector.go
- resource_herokux_formation_alert.go
- resource_herokux_formation_autoscaling.go
- resource_herokux_kafka_consumer_group.go
- resource_herokux_kafka_mtls_iprule.go
- resource_herokux_kafka_topic.go
- resource_herokux_oauth_authorization.go
- resource_herokux_pipeline_ephemeral_apps_config.go
- resource_herokux_pipeline_github_integration.go
- resource_herokux_pipeline_github_integration_migrate.go
- resource_herokux_pipeline_member.go
- resource_herokux_postgres.go
- resource_herokux_postgres_backup_schedule.go
- resource_herokux_postgres_connection_pooling.go
- resource_herokux_postgres_credential.go
- resource_herokux_postgres_data_link.go
- resource_herokux_postgres_dataclip.go
- resource_herokux_postgres_dataclip_team_association.go
- resource_herokux_postgres_dataclip_user_association.go
- resource_herokux_postgres_maintenance_window.go
- resource_herokux_postgres_mtls.go
- resource_herokux_postgres_mtls_certificate.go
- resource_herokux_postgres_mtls_iprule.go
- resource_herokux_postgres_settings.go
- resource_herokux_privatelink.go
- resource_herokux_redis_config.go
- resource_herokux_redis_maintenance_window.go
- resource_herokux_scheduler_job.go
- resource_herokux_shield_private_space.go
- timeouts.go
Click to show internal directories.
Click to hide internal directories.