s3

package
v0.0.0-...-7638244 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurer

type Configurer struct {
	// contains filtered or unexported fields
}

Configurer to fetch configuration from a s3 object

func New

func New(log logging.Logger) *Configurer

New creates a new S3 configurer.

func NewWith

func NewWith(dl downloader, log logging.Logger) *Configurer

NewWith creates a new S3 configurer.

func (*Configurer) Configure

func (s *Configurer) Configure(c *config.Config) error

Configure fetches a yaml config file from a s3 path and populate the config object

func (*Configurer) SetLogger

func (s *Configurer) SetLogger(lo logging.Logger)

SetLogger to set the logger after initialization

Jump to

Keyboard shortcuts

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