Documentation
¶
Overview ¶
Package sessiontest provides functions for convenient testing of session package API.
Note that importing the package into source files is highly discouraged.
Random instance generation functions can be useful when testing expects any value, e.g.:
import sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" val := sessiontest.Container() // test the value
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerSigned ¶
ContainerSigned returns signed random session.Container.
Panics if token could not be signed (actually unexpected).
func ObjectSigned ¶
ObjectSigned returns signed random session.Object.
Panics if token could not be signed (actually unexpected).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.