Documentation
¶
Index ¶
Constants ¶
View Source
const ( UserAgent = "polytomic-terraform-provider" ErrorSummary = "Client Error" //PolytomicDeploymentKey is the environment variable name for the Polytomic deployment key PolytomicDeploymentKey = "POLYTOMIC_DEPLOYMENT_KEY" //PolytomicAPIKey is the environment variable name for the Polytomic API key PolytomicAPIKey = "POLYTOMIC_API_KEY" //PolytomicPartnerKey is the environment variable name for the Polytomic partner key PolytomicPartnerKey = "POLYTOMIC_PARTNER_KEY" //PolytomicDeploymentURL is the environment variable name for the Polytomic deployment URL PolytomicDeploymentURL = "POLYTOMIC_DEPLOYMENT_URL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
func OptionsFromEnv ¶
func OptionsFromEnv() Options
OptionsFromEnv returns the provider client Options configured using the environment.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is used to construct Polytomic clients based on the configured authentication mechanism.
func GetProvider ¶
func GetProvider(data any, diags diag.Diagnostics) *Provider
GetClient returns a Polytomic client from the provider data for the specified organization.
func NewClientProvider ¶
func (*Provider) ListOrganizations ¶
ListOrganizations returns all organizations accessible via the configured authentication method.
Click to show internal directories.
Click to hide internal directories.