frostfs

package
v0.39.5 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitStorageClients

func InitStorageClients(
	ctx context.Context,
	nodes []netmap.NodeInfo,
	key *keys.PrivateKey,
	dial, stream time.Duration,
) ([]*client.Client, error)

func InitTreeClients

func InitTreeClients(
	ctx context.Context,
	nm *NmSource,
	key *keys.PrivateKey,
	dial, stream time.Duration,
) (map[string]*treepool.Pool, error)

func NewStorageClient

func NewStorageClient(
	ctx context.Context,
	key *keys.PrivateKey,
	endpoint string,
	dt, st time.Duration,
) (*client.Client, error)

func NewTreeClient

func NewTreeClient(
	key *keys.PrivateKey,
	endpoint string,
	dt, st time.Duration,
	nmSource treepool.NetMapInfoSource,
) (*treepool.Pool, error)

Types

type NmSource

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

func NewNMSource

func NewNMSource(cli *client.Client) *NmSource

func (*NmSource) NetmapSnapshot

func (w *NmSource) NetmapSnapshot(ctx context.Context) (netmap.NetMap, error)

Jump to

Keyboard shortcuts

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