Documentation
¶
Index ¶
- type Backend
- func (b *Backend) GetBackendBytes(stackName, unitName string) ([]byte, error)
- func (b *Backend) GetBackendHCL(stackName, unitName string) (*hclwrite.File, error)
- func (b *Backend) GetRemoteStateHCL(stackName, unitName string) ([]byte, error)
- func (b *Backend) LockState() error
- func (b *Backend) Name() string
- func (b *Backend) Provider() string
- func (b *Backend) ReadState() (string, error)
- func (b *Backend) State() map[string]interface{}
- func (b *Backend) UnlockState() error
- func (b *Backend) WriteState(stateData string) error
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.4.5
type Backend struct {
Bucket string `yaml:"bucket"`
Credentials string `yaml:"credentials,omitempty"`
ImpersonateServiceAccount string `yaml:"impersonate_service_account,omitempty"`
AccessToken string `yaml:"access_token,omitempty"`
EncryptionKey string `yaml:"encryption_key,omitempty"`
Prefix string `yaml:"prefix"`
ProjectPtr *project.Project `yaml:"-"`
// contains filtered or unexported fields
}
Backend - describe s3 backend for interface package.backend.
func (*Backend) GetBackendBytes ¶ added in v0.4.5
GetBackendBytes generate terraform backend config.
func (*Backend) GetBackendHCL ¶ added in v0.4.5
GetBackendHCL generate terraform backend config.
func (*Backend) GetRemoteStateHCL ¶ added in v0.4.5
GetRemoteStateHCL generate terraform remote state for this backend.
func (*Backend) UnlockState ¶ added in v0.4.5
func (*Backend) WriteState ¶ added in v0.4.5
Click to show internal directories.
Click to hide internal directories.