config

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveUseARNRegion

func ResolveUseARNRegion(ctx context.Context, configs []interface{}) (value bool, found bool, err error)

ResolveUseARNRegion extracts the first instance of a UseARNRegion from the config slice. Additionally returns a boolean to indicate if the value was found in provided configs, and error if one is encountered.

Types

type UseARNRegionProvider

type UseARNRegionProvider interface {
	GetS3UseARNRegion(ctx context.Context) (value bool, found bool, err error)
}

UseARNRegionProvider is an interface for retrieving external configuration value for UseARNRegion

Jump to

Keyboard shortcuts

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