Documentation
¶
Index ¶
- type BackendGCS
- func (b *BackendGCS) GetBackendBytes(infraName, moduleName string) ([]byte, error)
- func (b *BackendGCS) GetBackendHCL(infraName, moduleName string) (*hclwrite.File, error)
- func (b *BackendGCS) GetRemoteStateHCL(infraName, moduleName string) ([]byte, error)
- func (b *BackendGCS) Name() string
- func (b *BackendGCS) Provider() string
- func (b *BackendGCS) State() map[string]interface{}
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendGCS ¶
type BackendGCS 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"`
// contains filtered or unexported fields
}
BackendGCS - describe s3 backend for interface package.backend.
func (*BackendGCS) GetBackendBytes ¶
func (b *BackendGCS) GetBackendBytes(infraName, moduleName string) ([]byte, error)
GetBackendBytes generate terraform backend config.
func (*BackendGCS) GetBackendHCL ¶
func (b *BackendGCS) GetBackendHCL(infraName, moduleName string) (*hclwrite.File, error)
GetBackendHCL generate terraform backend config.
func (*BackendGCS) GetRemoteStateHCL ¶
func (b *BackendGCS) GetRemoteStateHCL(infraName, moduleName string) ([]byte, error)
GetRemoteStateHCL generate terraform remote state for this backend.
func (*BackendGCS) State ¶
func (b *BackendGCS) State() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.