euaccess

package
v0.0.0-...-f7d1ac2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BTPRegionSwitzerlandAzure = "cf-ch20"
	BTPRegionEuropeAWS        = "cf-eu11"
)
View Source
const (
	WhitelistKey = "whitelist"
)

Variables

This section is empty.

Functions

func IsEURestrictedAccess

func IsEURestrictedAccess(platformRegion string) bool

func IsNotWhitelisted

func IsNotWhitelisted(globalAccountId string, whitelist WhitelistSet) bool

Types

type WhitelistSet

type WhitelistSet map[string]struct{}

func ReadWhitelistedGlobalAccountIdsFromFile

func ReadWhitelistedGlobalAccountIdsFromFile(filename string) (WhitelistSet, error)

Jump to

Keyboard shortcuts

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