Documentation ¶
Index ¶
- Constants
- func New() backend.Backend
- type Backend
- type RemoteClient
- func (c *RemoteClient) Delete() error
- func (c *RemoteClient) Get() (*remote.Payload, error)
- func (c *RemoteClient) ListObjectsNames(prefix string, delim string) ([]string, error)
- func (c *RemoteClient) Lock(info *state.LockInfo) (string, error)
- func (c *RemoteClient) Put(data []byte) error
- func (c *RemoteClient) Unlock(id string) error
Constants ¶
View Source
const (
TFSTATE_NAME = "tfstate.tf"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
func (*Backend) DeleteWorkspace ¶ added in v0.12.0
func (*Backend) Workspaces ¶ added in v0.12.0
type RemoteClient ¶
type RemoteClient struct {
// contains filtered or unexported fields
}
RemoteClient implements the Client interface for an Openstack Swift server. Implements "state/remote".ClientLocker
func (*RemoteClient) Delete ¶
func (c *RemoteClient) Delete() error
func (*RemoteClient) ListObjectsNames ¶ added in v0.12.0
func (c *RemoteClient) ListObjectsNames(prefix string, delim string) ([]string, error)
func (*RemoteClient) Lock ¶ added in v0.12.0
func (c *RemoteClient) Lock(info *state.LockInfo) (string, error)
func (*RemoteClient) Put ¶
func (c *RemoteClient) Put(data []byte) error
swift is eventually constistent. Consistency is ensured by the Get func which will always try to retrieve the most recent object
func (*RemoteClient) Unlock ¶ added in v0.12.0
func (c *RemoteClient) Unlock(id string) error
Click to show internal directories.
Click to hide internal directories.