containerconst

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: GPL-3.0, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RegistrationFeeKey is a key in netmap config which contains fee for container registration.
	RegistrationFeeKey = "ContainerFee"
	// AliasFeeKey is a key in netmap config which contains fee for nice-name registration.
	AliasFeeKey = "ContainerAliasFee"

	// CleanupDelta contains the number of the last epochs for which container estimations are present.
	CleanupDelta = 3
	// TotalCleanupDelta contains the number of the epochs after which estimation
	// will be removed by epoch tick cleanup if any of the nodes hasn't updated
	// container size and/or container has been removed. It must be greater than CleanupDelta.
	TotalCleanupDelta = CleanupDelta + 1

	// NotFoundError is returned if container is missing.
	NotFoundError = "container does not exist"

	// ErrorDeleted is returned on attempt to create previously deleted container.
	ErrorDeleted = "container was previously deleted"

	// ErrorTooBigNumberOfNodes is returned if it is assumed that REP or number of REPS
	// in container's placement policy is bigger than 255.
	ErrorTooBigNumberOfNodes = "number of container nodes exceeds limits"

	// ErrorInvalidContainerID is returned on an attempt to work with incorrect container ID.
	ErrorInvalidContainerID = "invalid container id"

	// ErrorInvalidPublicKey is returned on an attempt to work with an incorrect public key.
	ErrorInvalidPublicKey = "invalid public key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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