Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.2.2"
Version is the tfinstall package version, used in user agent headers
Variables ¶
This section is empty.
Functions ¶
func Find ¶
func Find(opts ...ExecPathFinder) (string, error)
Types ¶
type ExactPathOption ¶
type ExactPathOption struct {
// contains filtered or unexported fields
}
func ExactPath ¶
func ExactPath(execPath string) *ExactPathOption
func (*ExactPathOption) ExecPath ¶
func (opt *ExactPathOption) ExecPath() (string, error)
type ExactVersionOption ¶
type ExactVersionOption struct {
// contains filtered or unexported fields
}
func ExactVersion ¶
func ExactVersion(tfVersion string, installDir string) *ExactVersionOption
func (*ExactVersionOption) ExecPath ¶
func (opt *ExactVersionOption) ExecPath() (string, error)
type ExecPathFinder ¶
type LatestVersionOption ¶
type LatestVersionOption struct {
// contains filtered or unexported fields
}
func LatestVersion ¶
func LatestVersion(installDir string, forceCheckpoint bool) *LatestVersionOption
func (*LatestVersionOption) ExecPath ¶
func (opt *LatestVersionOption) ExecPath() (string, error)
type LookPathOption ¶
type LookPathOption struct { }
func LookPath ¶
func LookPath() *LookPathOption
func (*LookPathOption) ExecPath ¶
func (opt *LookPathOption) ExecPath() (string, error)
Click to show internal directories.
Click to hide internal directories.