2021-05-26 10:30:08 +00:00
|
|
|
package container
|
|
|
|
|
|
|
|
import (
|
2024-11-07 14:32:10 +00:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/refs"
|
2023-03-07 13:38:26 +00:00
|
|
|
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session"
|
2021-05-26 10:30:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// RemovalWitness groups the information required
|
|
|
|
// to prove and verify the removal of a container.
|
|
|
|
type RemovalWitness struct {
|
2023-06-01 08:55:06 +00:00
|
|
|
// ContainerID returns the identifier of the container
|
|
|
|
// to be removed.
|
|
|
|
ContainerID cid.ID
|
2021-05-26 10:30:08 +00:00
|
|
|
|
2023-06-01 08:55:06 +00:00
|
|
|
// Signature the signature of the container identifier.
|
|
|
|
Signature *refs.Signature
|
2021-05-26 10:40:03 +00:00
|
|
|
|
2023-06-01 08:55:06 +00:00
|
|
|
// SessionToken the token of the session within
|
|
|
|
// which the container was removed.
|
|
|
|
SessionToken *session.Container
|
2021-05-26 10:40:03 +00:00
|
|
|
}
|