session

package
v0.44.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "session",
	Short: "Operations with session token",
}

Functions

func CreateSession

func CreateSession(ctx context.Context, dst *session.Object, c *client.Client, lifetime uint64) error

CreateSession opens a new communication with FrostFS storage node using client connection. The session is expected to be maintained by the storage node during the given number of epochs.

Fills ID, lifetime and session key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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