targetlocation

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Root Keys.
	ScopeKey             = "scope"
	SortByKey            = "sort_by"
	QueryKey             = "query"
	IncludeTotalCountKey = "include_total_count"
	TargetLocationsKey   = "target_locations"
	TotalCountKey        = "total_count"

	// Scope Directive Keys.
	ProviderScopeKey = "provider"
	ClusterScopeKey  = "cluster"

	// Provider Scope Directive Keys.
	ProviderScopeNameKey              = "name"
	ProviderScopeCredentialNameKey    = "credential_name" // #nosec G101
	ProviderScopeAssignedGroupNameKey = "assigned_group_name"

	// Cluster Scope Directive Keys.
	ClusterScopeClusterNameKey           = "cluster_name"
	ClusterScopeManagementClusterNameKey = "management_cluster_name"
	ClusterScopeProvisionerNameKey       = "provisioner_name"
	ClusterScopeNameKey                  = "name"
)
View Source
const (
	ResourceName    = "tanzu-mission-control_target_location"
	TMCProviderName = "tmc"

	// Root Keys.
	NameKey = "name"
	SpecKey = "spec"

	// Spec Directive Keys.
	BucketKey         = "bucket"
	RegionKey         = "region"
	CaCertKey         = "ca_cert"
	AssignedGroupsKey = "assigned_groups"
	ConfigKey         = "config"
	CredentialKey     = "credential"
	TargetProviderKey = "target_provider"
	SysBucketKey      = "sys_bucket_key"
	SysRegionKey      = "sys_region_key"

	// Assigned Groups Directive Keys.
	ClusterGroupsKey                 = "cluster_groups"
	ClusterKey                       = "cluster"
	ClustersManagementClusterNameKey = "management_cluster_name"
	ClustersProvisionerNameKey       = "provisioner_name"
	ClustersNameKey                  = "name"

	// Config Directive Keys.
	AwsConfigKey           = "aws"
	AwsS3ForcePathKey      = "s3_force_path_style"
	AwsS3BucketURLKey      = "s3_bucket_url"
	AwsS3PublicURLKey      = "s3_public_url"
	AzureConfigKey         = "azure"
	AzureResourceGroupKey  = "resource_group"
	AzureStorageAccountKey = "storage_account"
	AzureSubscriptionIDKey = "subscription_id"
)

Variables

Functions

func DataSourceTargetLocations

func DataSourceTargetLocations() *schema.Resource

func ResourceTargetLocation

func ResourceTargetLocation() *schema.Resource

Types

type CredentialsTypeCtxKey

type CredentialsTypeCtxKey string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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