provider

package
v0.1.10 Latest Latest
Warning

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

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

Documentation

Overview

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

This section is empty.

Variables

View Source
var (

	// TestAccProtoV6ProviderFactories are used to instantiate a provider during
	// acceptance testing. The factory function will be invoked for every Terraform
	// CLI command executed to create a provider server to which the CLI can
	// reattach.
	TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
		"qwilt": providerserver.NewProtocol6WithError(NewQwiltProvider("test"))}
)

Functions

func AddResponseSchema

func AddResponseSchema(resp *provider.SchemaResponse)

func NewQwiltProvider added in v0.1.5

func NewQwiltProvider(version string) *qwiltCDNProvider

NewQwiltProvider is a helper function to simplify provider server and testing implementation.

Types

type QwiltProviderModel

type QwiltProviderModel struct {
	// CDN
	EnvType   types.String `tfsdk:"env_type"`
	Username  types.String `tfsdk:"username"`
	Password  types.String `tfsdk:"password"`
	XApiToken types.String `tfsdk:"api_key"`
}

QwiltProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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