frostfs-node/pkg/core/container/delete.go
Airat Arifullin 9b13a18aac [#1479] go.mod: Bump frostfs-sdk-go version
* Update version within go.mod;
* Fix deprecated frostfs-api-go/v2 package and use frostfs-sdk-go/api
  instead.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-11-08 10:43:19 +03:00

22 lines
641 B
Go

package container
import (
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/refs"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session"
)
// RemovalWitness groups the information required
// to prove and verify the removal of a container.
type RemovalWitness struct {
// ContainerID returns the identifier of the container
// to be removed.
ContainerID cid.ID
// Signature the signature of the container identifier.
Signature *refs.Signature
// SessionToken the token of the session within
// which the container was removed.
SessionToken *session.Container
}