# README
tf-client-sdk
Creates a Terraform client from a command and/or a RPC port. It's used to access a provider in a clean way.
import "github.com/clean8s/tf-client-sdk"
func main() {
c := tfclient.MakeClient(exec.Command("tf-provider-example.exe"), nil)
c.ReadResource(...)
}
Contains code from terraform/internal
, owned by Hashicorp. Licensed under
MPL. Derivative corresponding to version inversion.go
.
It doesn't completely track upstream and the fork not be automatically synced with new TF versions until https://github.com/hashicorp/terraform-plugin-go becomes stable and the plugin protocol (v6?) is finalized.
# Packages
Package configschema contains types for describing the expected structure of a configuration block whose shape is not known until runtime.
No description provided by the author
Package providers contains the interface and primary types required to implement a Terraform resource provider.
Package tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
No description provided by the author
# Functions
MakeClient creates a Terraform client from a command and/or a RPC port.
MakeClientConfig creates a go-plugin ClientConfig object optimal for connecting to a provider.
MakeClientCustom acts like MakeClient except you can pass your custom ClientConfig.
String returns the complete version string, including prerelease.
# Constants
Header is the header name used to send the current terraform version in http requests.
# Variables
A pre-release marker for the version.
SemVer is an instance of version.Version.
No description provided by the author
The main version number that is being run at the moment.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author