Documentation
¶
Index ¶
- Variables
- func AppPlatformResources() []appplatform.NamedResource
- func CreateClients(providerConfig ProviderConfig) (*common.Client, error)
- func DataSources() []*common.DataSource
- func FrameworkProvider(version string) provider.Provider
- func MakeProviderServer(ctx context.Context, version string) (tfprotov5.ProviderServer, error)
- func Provider(version string) *schema.Provider
- func Resources() []*common.Resource
- func ResourcesMap() map[string]*common.Resource
- type ProviderConfig
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EnableGenerateEnvVar = "TF_GENERATE_UNSENSITIVE" EnableGenerateMarkerFile = ".generate-make-all-fields-unsensitive" )
Functions ¶
func AppPlatformResources ¶
func AppPlatformResources() []appplatform.NamedResource
func CreateClients ¶
func CreateClients(providerConfig ProviderConfig) (*common.Client, error)
func DataSources ¶
func DataSources() []*common.DataSource
func FrameworkProvider ¶
FrameworkProvider returns a terraform-plugin-framework Provider. This is the recommended way forward for new resources.
func MakeProviderServer ¶
func Provider ¶
Provider returns a terraform-provider-sdk2 provider. This is the deprecated way of creating a provider, and should only be used for legacy resources.
func ResourcesMap ¶
Types ¶
type ProviderConfig ¶
type ProviderConfig struct {
URL types.String `tfsdk:"url"`
Auth types.String `tfsdk:"auth"`
HTTPHeaders types.Map `tfsdk:"http_headers"`
Retries types.Int64 `tfsdk:"retries"`
RetryStatusCodes types.Set `tfsdk:"retry_status_codes"`
RetryWait types.Int64 `tfsdk:"retry_wait"`
OrgID types.Int64 `tfsdk:"org_id"`
StackID types.Int64 `tfsdk:"stack_id"`
TLSKey types.String `tfsdk:"tls_key"`
TLSCert types.String `tfsdk:"tls_cert"`
CACert types.String `tfsdk:"ca_cert"`
InsecureSkipVerify types.Bool `tfsdk:"insecure_skip_verify"`
StoreDashboardSha256 types.Bool `tfsdk:"store_dashboard_sha256"`
CloudAccessPolicyToken types.String `tfsdk:"cloud_access_policy_token"`
CloudAPIURL types.String `tfsdk:"cloud_api_url"`
SMAccessToken types.String `tfsdk:"sm_access_token"`
SMURL types.String `tfsdk:"sm_url"`
OncallAccessToken types.String `tfsdk:"oncall_access_token"`
OncallURL types.String `tfsdk:"oncall_url"`
CloudProviderAccessToken types.String `tfsdk:"cloud_provider_access_token"`
CloudProviderURL types.String `tfsdk:"cloud_provider_url"`
ConnectionsAPIAccessToken types.String `tfsdk:"connections_api_access_token"`
ConnectionsAPIURL types.String `tfsdk:"connections_api_url"`
FleetManagementAuth types.String `tfsdk:"fleet_management_auth"`
FleetManagementURL types.String `tfsdk:"fleet_management_url"`
FrontendO11yAPIAccessToken types.String `tfsdk:"frontend_o11y_api_access_token"`
K6URL types.String `tfsdk:"k6_url"`
K6AccessToken types.String `tfsdk:"k6_access_token"`
UserAgent types.String `tfsdk:"-"`
Version types.String `tfsdk:"-"`
}
func (*ProviderConfig) SetDefaults ¶
func (c *ProviderConfig) SetDefaults() error
Click to show internal directories.
Click to hide internal directories.