Documentation
¶
Overview ¶
Package provider exposes the fully registered Zerops Terraform Plugin Framework provider.
It is the supported entry point for programs that embed the provider, such as the Pulumi bridge (github.com/zeropsio/pulumi-zerops). Resource and data source implementations stay internal; this package only composes them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
Option customizes the provider returned by New.
func WithUserAgent ¶
WithUserAgent identifies an embedding product in the User-Agent header of every Zerops API request, for example "pulumi-zerops/0.1.0". The header then reads "<product> terraform-provider-zerops/<version>". Without this option the provider identifies itself with the Terraform CLI version, as when Terraform runs it.
WithUserAgent panics if product is empty or contains whitespace or control characters, because a malformed product token is a programming error in the embedding binary.