config

package
v1.17.5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveDisableMultiRegionAccessPoints added in v1.15.2

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

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

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 DisableMultiRegionAccessPointsProvider added in v1.15.2

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

DisableMultiRegionAccessPointsProvider is an interface for retrieving external configuration value for DisableMultiRegionAccessPoints

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