cdn

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

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

View Source
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

func NewCertificateResource() resource.Resource

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

func NewSiteActivationResource() resource.Resource

NewSiteActivationResource is a helper function to simplify the provider implementation.

func NewSiteActivationStagingResource

func NewSiteActivationStagingResource() resource.Resource

func NewSiteConfigResource

func NewSiteConfigResource() resource.Resource

NewSiteConfigResource is a helper function to simplify the provider implementation.

func NewSiteResource

func NewSiteResource() resource.Resource

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 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) 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

Directories

Path Synopsis
Package client
Package client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL