Versions in this module Expand all Collapse all v0 v0.38.0 Jun 12, 2023 Changes in this version + type MockBuild struct + Release bool + UsageReporting bool + func (m MockBuild) IsRelease() bool + func (m MockBuild) IsUsageReportingEnabled() bool + type MockedGoldenTFProvider struct + func NewMockedGoldenTFProvider(name, providerName, providerVersion string, ...) *MockedGoldenTFProvider + func (m *MockedGoldenTFProvider) ReadResource(args terraform2.ReadResourceArgs) (*cty.Value, error) + func (m *MockedGoldenTFProvider) Schema() map[string]providers.Schema + func (p *MockedGoldenTFProvider) Name() string + func (p *MockedGoldenTFProvider) Version() string + func (p MockedGoldenTFProvider) Cleanup() + type ReadResource struct + Err error + Value *cty.Value + func (m *ReadResource) MarshalJSON() ([]byte, error) + func (m *ReadResource) UnmarshalJSON(bytes []byte) error + type StateVersions struct + func (_m *StateVersions) Create(ctx context.Context, workspaceID string, options tfe.StateVersionCreateOptions) (*tfe.StateVersion, error) + func (_m *StateVersions) Current(ctx context.Context, workspaceID string) (*tfe.StateVersion, error) + func (_m *StateVersions) CurrentWithOptions(ctx context.Context, workspaceID string, ...) (*tfe.StateVersion, error) + func (_m *StateVersions) Download(ctx context.Context, url string) ([]byte, error) + func (_m *StateVersions) List(ctx context.Context, options tfe.StateVersionListOptions) (*tfe.StateVersionList, error) + func (_m *StateVersions) Outputs(ctx context.Context, svID string, options tfe.StateVersionOutputsListOptions) ([]*tfe.StateVersionOutput, error) + func (_m *StateVersions) Read(ctx context.Context, svID string) (*tfe.StateVersion, error) + func (_m *StateVersions) ReadWithOptions(ctx context.Context, svID string, options *tfe.StateVersionReadOptions) (*tfe.StateVersion, error) + type Workspaces struct + func (_m *Workspaces) AddRemoteStateConsumers(ctx context.Context, workspaceID string, ...) error + func (_m *Workspaces) AddTags(ctx context.Context, workspaceID string, options tfe.WorkspaceAddTagsOptions) error + func (_m *Workspaces) AssignSSHKey(ctx context.Context, workspaceID string, ...) (*tfe.Workspace, error) + func (_m *Workspaces) Create(ctx context.Context, organization string, options tfe.WorkspaceCreateOptions) (*tfe.Workspace, error) + func (_m *Workspaces) Delete(ctx context.Context, organization string, workspace string) error + func (_m *Workspaces) DeleteByID(ctx context.Context, workspaceID string) error + func (_m *Workspaces) ForceUnlock(ctx context.Context, workspaceID string) (*tfe.Workspace, error) + func (_m *Workspaces) List(ctx context.Context, organization string, options tfe.WorkspaceListOptions) (*tfe.WorkspaceList, error) + func (_m *Workspaces) Lock(ctx context.Context, workspaceID string, options tfe.WorkspaceLockOptions) (*tfe.Workspace, error) + func (_m *Workspaces) Read(ctx context.Context, organization string, workspace string) (*tfe.Workspace, error) + func (_m *Workspaces) ReadByID(ctx context.Context, workspaceID string) (*tfe.Workspace, error) + func (_m *Workspaces) ReadByIDWithOptions(ctx context.Context, workspaceID string, options *tfe.WorkspaceReadOptions) (*tfe.Workspace, error) + func (_m *Workspaces) ReadWithOptions(ctx context.Context, organization string, workspace string, ...) (*tfe.Workspace, error) + func (_m *Workspaces) Readme(ctx context.Context, workspaceID string) (io.Reader, error) + func (_m *Workspaces) RemoteStateConsumers(ctx context.Context, workspaceID string, ...) (*tfe.WorkspaceList, error) + func (_m *Workspaces) RemoveRemoteStateConsumers(ctx context.Context, workspaceID string, ...) error + func (_m *Workspaces) RemoveTags(ctx context.Context, workspaceID string, ...) error + func (_m *Workspaces) RemoveVCSConnection(ctx context.Context, organization string, workspace string) (*tfe.Workspace, error) + func (_m *Workspaces) RemoveVCSConnectionByID(ctx context.Context, workspaceID string) (*tfe.Workspace, error) + func (_m *Workspaces) Tags(ctx context.Context, workspaceID string, options tfe.WorkspaceTagListOptions) (*tfe.TagList, error) + func (_m *Workspaces) UnassignSSHKey(ctx context.Context, workspaceID string) (*tfe.Workspace, error) + func (_m *Workspaces) Unlock(ctx context.Context, workspaceID string) (*tfe.Workspace, error) + func (_m *Workspaces) Update(ctx context.Context, organization string, workspace string, ...) (*tfe.Workspace, error) + func (_m *Workspaces) UpdateByID(ctx context.Context, workspaceID string, options tfe.WorkspaceUpdateOptions) (*tfe.Workspace, error) + func (_m *Workspaces) UpdateRemoteStateConsumers(ctx context.Context, workspaceID string, ...) error