Documentation ¶
Overview ¶
Package remotestate implements a Backend for remote state implementations from the state/remote package that also implement a backend schema for configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { // Backend should be set to the configuration schema. ConfigureFunc // should not be set on the schema. *schema.Backend // ConfigureFunc takes the ctx from a schema.Backend and returns a // fully configured remote client to use for state operations. ConfigureFunc func(ctx context.Context) (remote.Client, error) // contains filtered or unexported fields }
Backend implements backend.Backend for remote state backends.
All exported fields should be set. This struct should only be used by implementers of backends, not by consumers. If you're consuming, please use a higher level package such as Consul backends.
Click to show internal directories.
Click to hide internal directories.