Versions in this module Expand all Collapse all v1 v1.0.1 Sep 24, 2021 v1.0.0 Sep 16, 2021 Changes in this version + func Find(ctx context.Context, opts ...ExecPathFinder) (string, error) + type ExactPathOption struct + func ExactPath(execPath string) *ExactPathOption + func (opt *ExactPathOption) ExecPath(context.Context) (string, error) + type ExactVersionOption struct + UserAgent string + func ExactVersion(tfVersion string, installDir string) *ExactVersionOption + func (opt *ExactVersionOption) ExecPath(ctx context.Context) (string, error) + type ExecPathFinder interface + ExecPath func(context.Context) (string, error) + type LatestVersionOption struct + UserAgent string + func LatestVersion(installDir string, forceCheckpoint bool) *LatestVersionOption + func (opt *LatestVersionOption) ExecPath(ctx context.Context) (string, error) + type LookPathOption struct + func LookPath() *LookPathOption + func (opt *LookPathOption) ExecPath(context.Context) (string, error)