Documentation ¶
Overview ¶
Package gcs implements remote storage of state on Google Cloud Storage (GCS).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶ added in v0.11.8
Backend implements "backend".Backend for GCS. Input(), Validate() and Configure() are implemented by embedding *schema.Backend. State(), DeleteState() and States() are implemented explicitly.
func (*Backend) DeleteWorkspace ¶ added in v0.12.0
DeleteWorkspace deletes the named workspaces. The "default" state cannot be deleted.
func (*Backend) StateMgr ¶ added in v0.12.0
StateMgr reads and returns the named state from GCS. If the named state does not yet exist, a new state file is created.
func (*Backend) StateMgrWithoutCheckVersion ¶ added in v0.12.30
func (*Backend) Workspaces ¶ added in v0.12.0
Workspaces returns a list of names for the workspaces found on GCS. The default state is always returned as the first element in the slice.
Click to show internal directories.
Click to hide internal directories.