s3

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 6 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 {
	sync.Mutex
	// 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