Categorygithub.com/hashicorp/terraform-svchost
modulepackage
0.1.1
Repository: https://github.com/hashicorp/terraform-svchost.git
Documentation: pkg.go.dev

# README

terraform-svchost

CI Tests GitHub license GoDoc Go Report Card GitHub issues

This package provides friendly hostnames, and is used by terraform.

# Packages

Package auth contains types and functions to manage authentication credentials for service hosts.
Package disco handles Terraform's remote service discovery protocol.

# Functions

ForComparison takes a user-specified hostname and returns a normalized form of it suitable for storage and comparison.
ForDisplay takes a user-specified hostname and returns a normalized form of it suitable for display in the UI.
IsValid returns true if the given user-specified hostname is a valid service hostname.

# Type aliases

Hostname is specialized name for string that indicates that the string has been converted to (or was already in) the storage and comparison form.