provider

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MPL-2.0 Imports: 58 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DontDeleteEmptyObject added in v0.57.0

func DontDeleteEmptyObject() basetypes.ObjectValue

func NewAuditTrailTokenResource added in v0.61.0

func NewAuditTrailTokenResource() resource.Resource

func NewDataRetentionPolicyResource added in v0.57.0

func NewDataRetentionPolicyResource() resource.Resource

func NewFrameworkProvider

func NewFrameworkProvider() provider.Provider

NewFrameworkProvider is a helper function for initializing the portion of the tfe provider implemented via the terraform-plugin-framework.

func NewNoCodeModuleDataSource added in v0.52.0

func NewNoCodeModuleDataSource() datasource.DataSource

NewNoCodeModuleDataSource is a helper function to simplify the implementation.

func NewOrganizationRunTaskDataSource added in v0.54.0

func NewOrganizationRunTaskDataSource() datasource.DataSource

NewOrganizationRunTaskDataSource is a helper function to simplify the provider implementation.

func NewOrganizationRunTaskGlobalSettingsDataSource added in v0.57.0

func NewOrganizationRunTaskGlobalSettingsDataSource() datasource.DataSource

func NewOrganizationRunTaskGlobalSettingsResource added in v0.57.0

func NewOrganizationRunTaskGlobalSettingsResource() resource.Resource

func NewOrganizationRunTaskResource added in v0.54.0

func NewOrganizationRunTaskResource() resource.Resource

func NewProjectsDataSource added in v0.60.0

func NewProjectsDataSource() datasource.DataSource

NewProjectsDataSource is a helper function to simplify the provider implementation.

func NewRegistryGPGKeyDataSource added in v0.51.0

func NewRegistryGPGKeyDataSource() datasource.DataSource

NewRegistryGPGKeyDataSource is a helper function to simplify the provider implementation.

func NewRegistryGPGKeyResource added in v0.51.0

func NewRegistryGPGKeyResource() resource.Resource

func NewRegistryGPGKeysDataSource added in v0.51.0

func NewRegistryGPGKeysDataSource() datasource.DataSource

NewRegistryGPGKeysDataSource is a helper function to simplify the provider implementation.

func NewRegistryProviderDataSource added in v0.52.0

func NewRegistryProviderDataSource() datasource.DataSource

NewRegistryProviderDataSource is a helper function to simplify the provider implementation.

func NewRegistryProviderResource added in v0.52.0

func NewRegistryProviderResource() resource.Resource

func NewRegistryProvidersDataSource added in v0.52.0

func NewRegistryProvidersDataSource() datasource.DataSource

NewRegistryProvidersDataSource is a helper function to simplify the provider implementation.

func NewResourceVariable

func NewResourceVariable() resource.Resource

NewResourceVariable is a resource function for the framework provider.

func NewResourceWorkspaceSettings added in v0.51.0

func NewResourceWorkspaceSettings() resource.Resource

func NewSAMLSettingsDataSource

func NewSAMLSettingsDataSource() datasource.DataSource

NewSAMLSettingsDataSource is a helper function to simplify the provider implementation.

func NewSAMLSettingsResource

func NewSAMLSettingsResource() resource.Resource

NewSAMLSettingsResource is a resource function for the framework provider.

func NewStackResource added in v0.57.0

func NewStackResource() resource.Resource

func NewTestVariableResource added in v0.54.0

func NewTestVariableResource() resource.Resource

func NewWorkspaceRunTaskDataSource added in v0.54.0

func NewWorkspaceRunTaskDataSource() datasource.DataSource

func NewWorkspaceRunTaskResource added in v0.54.0

func NewWorkspaceRunTaskResource() resource.Resource

func PluginProviderServer

func PluginProviderServer() tfprotov5.ProviderServer

PluginProviderServer returns the implementation of an interface for a lower level usage of the Provider to Terraform protocol. This relies on the terraform-plugin-go library, which provides low level bindings for the Terraform plugin protocol.

func Provider

func Provider() *schema.Provider

Provider returns a schema.Provider

Types

type AttrGettable

type AttrGettable interface {
	GetAttribute(ctx context.Context, path path.Path, target interface{}) diag.Diagnostics
}

AttrGettable is a small enabler for helper functions that need to read one attribute of a Configuration, Plan, or State.

type ConfiguredClient

type ConfiguredClient struct {
	Client       *tfe.Client
	Organization string
}

ConfiguredClient wraps the tfe.Client the provider uses, plus the default organization name to be used by resources that need an organization but don't specify one.

type FrameworkProviderConfig

type FrameworkProviderConfig struct {
	Hostname      types.String `tfsdk:"hostname"`
	Token         types.String `tfsdk:"token"`
	Organization  types.String `tfsdk:"organization"`
	SSLSkipVerify types.Bool   `tfsdk:"ssl_skip_verify"`
}

FrameworkProviderConfig is a helper type for extracting the provider configuration from the provider block.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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