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 ¶
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 ¶
DeleteWorkspace deletes the named workspaces. The "default" state cannot be deleted.
func (*Backend) StateMgr ¶
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) Workspaces ¶
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.