Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 v0.2.0 Aug 12, 2026 Changes in this version + var RemovedBackends map[string]string + func Backend(name string) (backend.InitFn, string) + func Init(services *disco.Disco) + func RegisterTemp(name string, f backend.InitFn) func() + func Set(name string, f backend.InitFn) + type MockBackend struct + ConfigSchemaCalled bool + ConfigSchemaFn func() *configschema.Block + ConfigureCalled bool + ConfigureConfigObj cty.Value + ConfigureFn func(configObj cty.Value) tfdiags.Diagnostics + DeleteWorkspaceCalled bool + DeleteWorkspaceFn func(name string, force bool) error + DeleteWorkspaceForce bool + DeleteWorkspaceName string + PrepareConfigCalled bool + PrepareConfigConfigObj cty.Value + PrepareConfigFn func(configObj cty.Value) (cty.Value, tfdiags.Diagnostics) + StateMgrCalled bool + StateMgrFn func(workspace string) (statemgr.Full, error) + StateMgrWorkspace string + WorkspacesCalled bool + WorkspacesFn func() ([]string, error) + func (m *MockBackend) ConfigSchema() *configschema.Block + func (m *MockBackend) Configure(ctx context.Context, configObj cty.Value) tfdiags.Diagnostics + func (m *MockBackend) DeleteWorkspace(_ context.Context, name string, force bool) error + func (m *MockBackend) PrepareConfig(configObj cty.Value) (cty.Value, tfdiags.Diagnostics) + func (m *MockBackend) StateMgr(_ context.Context, workspace string) (statemgr.Full, error) + func (m *MockBackend) Workspaces(context.Context) ([]string, error)