Documentation ¶
Index ¶
- func GenerateAttributePool(count uint) []objectSDK.Attribute
- func GenerateObject(options ...ObjectOption) *objectSDK.Object
- func GenerateOwnerPool(count uint) []user.ID
- func GeneratePayloadPool(count uint, size uint) [][]byte
- func PopulateGraveyard(ctx context.Context, db *meta.DB, group *errgroup.Group, workBufferSize int, ...)
- func PopulateLocked(ctx context.Context, db *meta.DB, group *errgroup.Group, workBufferSize int, ...)
- func PopulateWithBigObjects(ctx context.Context, db *meta.DB, group *errgroup.Group, count uint, ...)
- func PopulateWithObjects(ctx context.Context, db *meta.DB, group *errgroup.Group, count uint, ...)
- type EpochState
- type ObjectOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAttributePool ¶
func GenerateObject ¶
func GenerateObject(options ...ObjectOption) *objectSDK.Object
func GenerateOwnerPool ¶
func GeneratePayloadPool ¶
func PopulateGraveyard ¶
func PopulateLocked ¶
func PopulateWithBigObjects ¶
Types ¶
type EpochState ¶
type EpochState struct{}
func (EpochState) CurrentEpoch ¶
func (s EpochState) CurrentEpoch() uint64
type ObjectOption ¶
func WithAttributesFromPool ¶
func WithAttributesFromPool(pool []objectSDK.Attribute, count uint) ObjectOption
func WithContainerID ¶
func WithContainerID(cid cid.ID) ObjectOption
func WithOwnerIDFromPool ¶
func WithOwnerIDFromPool(pool []user.ID) ObjectOption
func WithPayloadFromPool ¶
func WithPayloadFromPool(pool [][]byte) ObjectOption
func WithType ¶
func WithType(typ objectSDK.Type) ObjectOption
Click to show internal directories.
Click to hide internal directories.