Skip to content

Commit 665e563

Browse files
committed
add TODOs
1 parent 5a24039 commit 665e563

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

internal/providers/provider.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ type Interface interface {
100100
// CallFunction calls a provider-contributed function.
101101
CallFunction(CallFunctionRequest) CallFunctionResponse
102102

103+
// TODO
104+
// ValidateStorageConfig(ValidateStorageRequest) ValidateStorageResponse
105+
// ConfigureStorage(ConfigureStorageRequest) ConfigureStorageResponse
106+
107+
// ReadState(ReadStateRequest, srv ProviderReadStateServer)
108+
// WriteState(srv ProviderWriteStateServer)
109+
110+
// LockState(LockStateRequest) LockStateResponse
111+
// UnlockState(UnlockStateRequest) UnlockStateResponse
112+
// GetStates(GetStatesRequest) GetStatesResponse
113+
// DeleteState(DeleteStateRequest) DeleteStateResponse
114+
103115
// Close shuts down the plugin process if applicable.
104116
Close() error
105117
}
@@ -130,6 +142,10 @@ type GetProviderSchemaResponse struct {
130142
// prefix) to the declaration of a function.
131143
Functions map[string]FunctionDecl
132144

145+
// TODO
146+
// Backends maps the backend type name to that type's schema.
147+
// Backends map[string]Schema
148+
133149
// Diagnostics contains any warnings or errors from the method call.
134150
Diagnostics tfdiags.Diagnostics
135151

0 commit comments

Comments
 (0)