We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d86ba1 commit 384dcb5Copy full SHA for 384dcb5
internal/states/remote/remote.go
@@ -5,15 +5,16 @@ package remote
5
6
import (
7
"github.com/hashicorp/terraform/internal/states/statemgr"
8
+ "github.com/hashicorp/terraform/internal/tfdiags"
9
)
10
11
// Client is the interface that must be implemented for a remote state
12
// driver. It supports dumb put/get/delete, and the higher level structs
13
// handle persisting the state properly here.
14
type Client interface {
- Get() (*Payload, error)
15
- Put([]byte) error
16
- Delete() error
+ Get() (*Payload, tfdiags.Diagnostics)
+ Put([]byte) tfdiags.Diagnostics
17
+ Delete() tfdiags.Diagnostics
18
}
19
20
// ClientForcePusher is an optional interface that allows a remote
0 commit comments