Documentation ¶
Overview ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Package cdn ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2024 Qwilt Inc.
Index ¶
- Constants
- func NewCertificateResource() resource.Resource
- func NewCertificateTemplateTemplateResource() resource.Resource
- func NewCertificateTemplatesDataSource() datasource.DataSource
- func NewCertificatesDataSource() datasource.DataSource
- func NewOriginAllowListDataSource() datasource.DataSource
- func NewSiteActivationResource() resource.Resource
- func NewSiteActivationStagingResource() resource.Resource
- func NewSiteConfigResource() resource.Resource
- func NewSiteResource() resource.Resource
- func NewSitesDataSource() datasource.DataSource
- func SetDevOverrides()
- type SelfSignedCertGenerator
- type TerraformConfigBuilder
- func (b *TerraformConfigBuilder) Build() string
- func (b *TerraformConfigBuilder) CertResource(name, pk, cert, desc string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) CertificateTemplateDataSource(name, id string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) CertificateTemplateResource(name, commonName, orgName string, sans []string, autoManaged bool) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) CertsDataSource(name, certId string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelCertResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelCertificateTemplateResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelSiteActivationResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelSiteCfgResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelSiteResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) OriginAllowListDataSource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteActivationResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteActivationResourceWithCert(name string, cert_id, csr_id *int) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteActivationResourceWithCertRef(name string, cert_ref_name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteActivationStagingResource(name string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteConfigResource(name string, host string, changeDesc string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteConfigResourceWithTabs(name string, host string, changeDesc string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SiteResource(name, siteName string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) SitesDataSource(name, siteId string) *TerraformConfigBuilder
Constants ¶
const ( // QwiltCdnProviderConfig is a shared configuration to combine with the actual // test configuration so the CDN client is properly configured. // It is also possible to use the QCDN_ environment variables instead, // such as updating the Makefile and running the testing through that tool. QwiltCdnProviderConfig = ` provider "qwilt" { env_type = "dev" } ` // QwiltCdnProviderConfig is a shared configuration to combine with the actual // test configuration so the CDN client is properly configured. // It is also possible to use the QCDN_ environment variables instead, // such as updating the Makefile and running the testing through that tool. QwiltCdnFullProviderConfig = `` /* 144-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func NewCertificateResource ¶
NewCertificateResource is a helper function to simplify the provider implementation.
func NewCertificateTemplateTemplateResource ¶ added in v0.1.15
NewCertificateTemplateResource is a helper function to simplify the provider implementation.
func NewCertificateTemplatesDataSource ¶ added in v0.1.15
func NewCertificateTemplatesDataSource() datasource.DataSource
NewCertificatesDataSource is a helper function to simplify the provider implementation.
func NewCertificatesDataSource ¶
func NewCertificatesDataSource() datasource.DataSource
NewCertificatesDataSource is a helper function to simplify the provider implementation.
func NewOriginAllowListDataSource ¶ added in v0.1.15
func NewOriginAllowListDataSource() datasource.DataSource
NewOriginAllowListDataSource is a helper function to simplify the provider implementation.
func NewSiteActivationResource ¶
NewSiteActivationResource is a helper function to simplify the provider implementation.
func NewSiteConfigResource ¶
NewSiteConfigResource is a helper function to simplify the provider implementation.
func NewSiteResource ¶
NewSiteResource is a helper function to simplify the provider implementation.
func NewSitesDataSource ¶
func NewSitesDataSource() datasource.DataSource
NewSitesDataSource is a helper function to simplify the provider implementation.
func SetDevOverrides ¶ added in v0.1.10
func SetDevOverrides()
Types ¶
type SelfSignedCertGenerator ¶ added in v0.1.8
func NewSelfSignedCertGenerator ¶ added in v0.1.8
func NewSelfSignedCertGenerator() *SelfSignedCertGenerator
type TerraformConfigBuilder ¶
type TerraformConfigBuilder struct { Host string // contains filtered or unexported fields }
func NewTerraformConfigBuilder ¶
func NewTerraformConfigBuilder() *TerraformConfigBuilder
func (*TerraformConfigBuilder) Build ¶
func (b *TerraformConfigBuilder) Build() string
func (*TerraformConfigBuilder) CertResource ¶
func (b *TerraformConfigBuilder) CertResource(name, pk, cert, desc string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) CertificateTemplateDataSource ¶ added in v0.1.15
func (b *TerraformConfigBuilder) CertificateTemplateDataSource(name, id string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) CertificateTemplateResource ¶ added in v0.1.15
func (b *TerraformConfigBuilder) CertificateTemplateResource(name, commonName, orgName string, sans []string, autoManaged bool) *TerraformConfigBuilder
func (*TerraformConfigBuilder) CertsDataSource ¶
func (b *TerraformConfigBuilder) CertsDataSource(name, certId string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelCertResource ¶
func (b *TerraformConfigBuilder) DelCertResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelCertificateTemplateResource ¶ added in v0.1.15
func (b *TerraformConfigBuilder) DelCertificateTemplateResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelSiteActivationResource ¶
func (b *TerraformConfigBuilder) DelSiteActivationResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelSiteCfgResource ¶
func (b *TerraformConfigBuilder) DelSiteCfgResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelSiteResource ¶
func (b *TerraformConfigBuilder) DelSiteResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) OriginAllowListDataSource ¶ added in v0.1.15
func (b *TerraformConfigBuilder) OriginAllowListDataSource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteActivationResource ¶
func (b *TerraformConfigBuilder) SiteActivationResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteActivationResourceWithCert ¶ added in v0.1.8
func (b *TerraformConfigBuilder) SiteActivationResourceWithCert(name string, cert_id, csr_id *int) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteActivationResourceWithCertRef ¶ added in v0.1.8
func (b *TerraformConfigBuilder) SiteActivationResourceWithCertRef(name string, cert_ref_name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteActivationStagingResource ¶
func (b *TerraformConfigBuilder) SiteActivationStagingResource(name string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteConfigResource ¶
func (b *TerraformConfigBuilder) SiteConfigResource(name string, host string, changeDesc string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteConfigResourceWithTabs ¶ added in v0.1.10
func (b *TerraformConfigBuilder) SiteConfigResourceWithTabs(name string, host string, changeDesc string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SiteResource ¶
func (b *TerraformConfigBuilder) SiteResource(name, siteName string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SitesDataSource ¶
func (b *TerraformConfigBuilder) SitesDataSource(name, siteId string) *TerraformConfigBuilder
Source Files ¶
- cdn_certificate_resource.go
- cdn_certificates_data_source.go
- cdn_certificatetemplate_resource.go
- cdn_certificatetemplates_data_source.go
- cdn_origin_allow_list_data_source.go
- cdn_site_resource.go
- cdn_siteactivation_resource.go
- cdn_siteactivation_staging_resource.go
- cdn_siteconfig_resource.go
- cdn_sites_data_source.go
- certificate_test_helper.go
- test_config.go
- tests_helper.go