Help us shape the future of Go! Take the 2026 Go Developer Survey

fwprovider

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fwprovider exposes the coderd Terraform provider implementation to other Go programs that embed it instead of running it as a plugin binary.

The implementation lives in internal/provider, which the Go toolchain keeps unimportable from outside this module. Embedders need a provider.Provider value so they can read the schema and drive CRUD in-process; this package hands them one without widening the rest of the internal API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() tfprovider.Provider

New returns a factory for the coderd provider implementation. The signature matches what providerserver.Serve expects, so embedders can either serve it as a plugin or call the factory directly to get an instance. version is what the provider reports from its Metadata method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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