region

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 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 NewProviderChain added in v0.0.92

func NewProviderChain(serviceName string, providers []IRegionProvider) *ProviderChain

func (*ProviderChain) GetRegion added in v0.0.92

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

type Region

type Region struct {
	Id       string
	Endpoint string
}

func NewRegion

func NewRegion(id string, endpoint string) *Region

func (*Region) WithEndpointOverride

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

Jump to

Keyboard shortcuts

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