provider

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MPL-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConsulClusterResourceType is the resource type of a Consul cluster
	ConsulClusterResourceType = "hashicorp.consul.cluster"

	// HvnResourceType is the resource type of an HVN
	HvnResourceType = "hashicorp.network.hvn"

	// PeeringResourceType is the resource type of a network peering
	PeeringResourceType = "hashicorp.network.peering"

	// TgwAttachmentResourceType is the resource type of a TGW attachment
	TgwAttachmentResourceType = "hashicorp.network.tgw-attachment"

	// HVNRouteResourceType is the resource type of an HVN route
	HVNRouteResourceType = "hashicorp.network.route"

	// ConsulSnapshotResourceType is the resource type of a Consul snapshot
	ConsulSnapshotResourceType = "hashicorp.consul.snapshot"

	// ConsulClusterHelmConfigDataSourceType is the data source type of a Consul
	// cluster Helm config
	ConsulClusterHelmConfigDataSourceType = ConsulClusterResourceType + ".helm-config"

	// ConsulClusterAgentKubernetesSecretDataSourceType is the data source
	// type of a Consul cluster agent Kubernetes secret
	ConsulClusterAgentKubernetesSecretDataSourceType = ConsulClusterResourceType + ".agent-kubernetes-secret"

	// VaultClusterResourceType is the resource type of a Vault cluster
	VaultClusterResourceType = "hashicorp.vault.cluster"
)

Variables

This section is empty.

Functions

func New

func New() func() *schema.Provider

Types

type ConsulConfig

type ConsulConfig struct {
	Datacenter string   `json:"datacenter"`
	Encrypt    string   `json:"encrypt"`
	RetryJoin  []string `json:"retry_join"`
}

ConsulConfig represents the Consul configuration that will be decoded from a base64 formatted string.

Jump to

Keyboard shortcuts

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