Documentation
¶
Index ¶
- type BackendDo
- func (b *BackendDo) GetBackendBytes(infraName, moduleName string) ([]byte, error)
- func (b *BackendDo) GetBackendHCL(infraName, moduleName string) (*hclwrite.File, error)
- func (b *BackendDo) GetRemoteStateHCL(infraName, moduleName string) ([]byte, error)
- func (b *BackendDo) Name() string
- func (b *BackendDo) Provider() string
- func (b *BackendDo) State() map[string]interface{}
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendDo ¶
type BackendDo struct {
Bucket string `yaml:"bucket"`
Region string `yaml:"region"`
AccessKey string `yaml:"access_key,omitempty"`
SecretKey string `yaml:"secret_key,omitempty"`
// contains filtered or unexported fields
}
BackendDo - describe do spaces backend for interface package.backend.
func (*BackendDo) GetBackendBytes ¶
GetBackendBytes generate terraform backend config.
func (*BackendDo) GetBackendHCL ¶
GetBackendHCL generate terraform backend config.
func (*BackendDo) GetRemoteStateHCL ¶
GetRemoteStateHCL generate terraform remote state for this backend.
Click to show internal directories.
Click to hide internal directories.