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) 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 ¶
type Backend struct { ProjectPtr *project.Project Path string `yaml:"path"` // contains filtered or unexported fields }
Backend - describe s3 backend for interface package.backend.
func (*Backend) GetBackendBytes ¶
GetBackendBytes generate terraform backend config.
func (*Backend) GetBackendHCL ¶
GetBackendHCL generate terraform backend config.
func (*Backend) GetRemoteStateHCL ¶
GetRemoteStateHCL generate terraform remote state for this backend.
func (*Backend) UnlockState ¶
func (*Backend) WriteState ¶
Click to show internal directories.
Click to hide internal directories.