File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,18 @@ type Interface interface {
100
100
// CallFunction calls a provider-contributed function.
101
101
CallFunction (CallFunctionRequest ) CallFunctionResponse
102
102
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
+
103
115
// Close shuts down the plugin process if applicable.
104
116
Close () error
105
117
}
@@ -130,6 +142,10 @@ type GetProviderSchemaResponse struct {
130
142
// prefix) to the declaration of a function.
131
143
Functions map [string ]FunctionDecl
132
144
145
+ // TODO
146
+ // Backends maps the backend type name to that type's schema.
147
+ // Backends map[string]Schema
148
+
133
149
// Diagnostics contains any warnings or errors from the method call.
134
150
Diagnostics tfdiags.Diagnostics
135
151
You can’t perform that action at this time.
0 commit comments