region

package
v0.1.81 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 7 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvCache added in v0.0.92

type EnvCache struct {
	// contains filtered or unexported fields
}

type EnvProvider added in v0.0.92

type EnvProvider struct {
	// contains filtered or unexported fields
}

func NewEnvProvider added in v0.0.92

func NewEnvProvider(serviceName string) *EnvProvider

func (*EnvProvider) GetRegion added in v0.0.92

func (p *EnvProvider) GetRegion(regionId string) *Region

type IRegionProvider added in v0.0.92

type IRegionProvider interface {
	GetRegion(regionId string) *Region
}

type ProfileCache added in v0.0.92

type ProfileCache struct {
	// contains filtered or unexported fields
}

type ProfileProvider added in v0.0.92

type ProfileProvider struct {
	// contains filtered or unexported fields
}

func NewProfileProvider added in v0.0.92

func NewProfileProvider(serviceName string) *ProfileProvider

func (*ProfileProvider) GetRegion added in v0.0.92

func (p *ProfileProvider) GetRegion(regionId string) *Region

type ProviderChain added in v0.0.92

type ProviderChain struct {
	// contains filtered or unexported fields
}

func DefaultProviderChain added in v0.0.92

func DefaultProviderChain(serviceName string) *ProviderChain

func (*ProviderChain) GetRegion added in v0.0.92

func (p *ProviderChain) GetRegion(regionId string) *Region

type Region

type Region struct {
	Id        string
	Endpoints []string
}

func NewRegion

func NewRegion(id string, endpoints ...string) *Region

func (*Region) WithEndpointOverride deprecated

func (r *Region) WithEndpointOverride(endpoint string) *Region

Deprecated: As of 0.1.27, because of the support of the multi-endpoint feature, use WithEndpointsOverride instead

func (*Region) WithEndpointsOverride added in v0.1.27

func (r *Region) WithEndpointsOverride(endpoints []string) *Region

Jump to

Keyboard shortcuts

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