Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(enc encryption.StateEncryption) backend.Backend
New creates a new backend for Inmem remote state.
Types ¶
type Backend ¶
func (*Backend) Workspaces ¶
type RemoteClient ¶
RemoteClient is a remote client that stores data in memory for testing.
func (*RemoteClient) Delete ¶
func (c *RemoteClient) Delete() error
func (*RemoteClient) Put ¶
func (c *RemoteClient) Put(data []byte) error
func (*RemoteClient) Unlock ¶
func (c *RemoteClient) Unlock(id string) error
Click to show internal directories.
Click to hide internal directories.