package credentials
import "k8s.io/kubernetes/pkg/credentialprovider/aws"
Index ¶
Variables ¶
var AWSRegions = [...]string{ "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "cn-north-1", "us-gov-west-1", "sa-east-1", }
AWSRegions is the complete list of regions known to the AWS cloudprovider and credentialprovider.
Functions ¶
func Init ¶
func Init()
Init creates a lazy provider for each AWS region, in order to support cross-region ECR access. They have to be lazy because it's unlikely, but not impossible, that we'll use more than one. Not using the package init() function: this module should be initialized only if using the AWS cloud provider. This way, we avoid timeouts waiting for a non-existent provider.
Source Files ¶
aws_credentials.go
- Version
- v1.4.2
- Published
- Oct 15, 2016
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 25 seconds ago –
Tools for package owners.