clientmap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientKey

type ClientKey struct {
	Region      string
	Credentials bool
}

type ClientMap

type ClientMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *ClientMap

func WithCapacity

func WithCapacity(capacity int) *ClientMap

func (*ClientMap) Each

func (m *ClientMap) Each(fn func(region string, credentials bool, client *s3.Client))

func (*ClientMap) Get

func (m *ClientMap) Get(region string, credentials bool) *s3.Client

func (*ClientMap) Len

func (m *ClientMap) Len() int

func (*ClientMap) Set

func (m *ClientMap) Set(region string, credentials bool, value *s3.Client)

Jump to

Keyboard shortcuts

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