Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶
type FakeClient ¶
type FakeClient struct{}
FakeClient is a test implementation of Client that returns a static version.
func NewFakeClient ¶
func NewFakeClient() *FakeClient
func (*FakeClient) GetLatestVersion ¶
func (f *FakeClient) GetLatestVersion() (string, error)
type GitHubRelease ¶
type TerraformClient ¶
type TerraformClient struct {
// contains filtered or unexported fields
}
This client ONLY fetches the latest version from github releases It doesn't actually execute terraform commands
func (*TerraformClient) FetchVersion ¶
func (client *TerraformClient) FetchVersion() (string, error)
func (*TerraformClient) GetLatestVersion ¶
func (client *TerraformClient) GetLatestVersion() (string, error)
Click to show internal directories.
Click to hide internal directories.