storageallowlist

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AllowListEnv = "STORAGE_ALLOW_LIST"

Variables

This section is empty.

Functions

func AllowedList

func AllowedList() []string

AllowedList returns allowed providers in canonical order.

func AllowedMap

func AllowedMap() map[string]bool

AllowedMap returns which providers are permitted by STORAGE_ALLOW_LIST.

func FirstAllowed

func FirstAllowed() string

FirstAllowed returns the first supported provider allowed by STORAGE_ALLOW_LIST.

func IsAllowed

func IsAllowed(provider string) bool

IsAllowed reports whether provider is permitted. Empty provider is treated as allowed.

func Supported

func Supported() []string

Supported returns the canonical storage provider names in display order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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