s3

package
v0.4.0-alfa5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendS3

type BackendS3 struct {
	Bucket string `yaml:"bucket"`
	Region string `yaml:"region"`
	// contains filtered or unexported fields
}

BackendS3 - describe s3 backend for interface package.backend.

func (*BackendS3) GetBackendHCL

func (b *BackendS3) GetBackendHCL(module project.Module) ([]byte, error)

GetBackendHCL generate terraform backend config.

func (*BackendS3) GetRemoteStateHCL

func (b *BackendS3) GetRemoteStateHCL(module project.Module) ([]byte, error)

GetRemoteStateHCL generate terraform remote state for this backend.

func (*BackendS3) Name

func (b *BackendS3) Name() string

Name return name.

func (*BackendS3) Provider

func (b *BackendS3) Provider() string

Provider return name.

type Factory

type Factory struct{}

Factory factory for s3 backends.

func (*Factory) New

func (f *Factory) New(config []byte, name string) (project.Backend, error)

New creates the new s3 backend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL