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.
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 NewCertificatesDataSource() datasource.DataSource
- func NewSiteActivationResource() resource.Resource
- func NewSiteActivationStagingResource() resource.Resource
- func NewSiteConfigResource() resource.Resource
- func NewSiteResource() resource.Resource
- func NewSitesDataSource() datasource.DataSource
- type SelfSignedCertGenerator
- type TerraformConfigBuilder
- func (b *TerraformConfigBuilder) Build() string
- func (b *TerraformConfigBuilder) CertResource(name, pk, cert, desc string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) CertsDataSource(name, certId string) *TerraformConfigBuilder
- func (b *TerraformConfigBuilder) DelCertResource(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) 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) 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 NewCertificatesDataSource ¶
func NewCertificatesDataSource() datasource.DataSource
NewCertificatesDataSource 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.
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) CertsDataSource ¶
func (b *TerraformConfigBuilder) CertsDataSource(name, certId string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) DelCertResource ¶
func (b *TerraformConfigBuilder) DelCertResource(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) 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) SiteResource ¶
func (b *TerraformConfigBuilder) SiteResource(name, siteName string) *TerraformConfigBuilder
func (*TerraformConfigBuilder) SitesDataSource ¶
func (b *TerraformConfigBuilder) SitesDataSource(name, siteId string) *TerraformConfigBuilder