Add WaitFotContainerPresence to Pool Interface

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2021-06-22 17:28:12 +03:00
parent bcceec6e8b
commit 7065831db4

View file

@ -74,6 +74,7 @@ type Pool interface {
client.Container client.Container
Connection() (client.Client, *session.Token, error) Connection() (client.Client, *session.Token, error)
OwnerID() *owner.ID OwnerID() *owner.ID
WaitForContainerPresence(context.Context, *cid.ID, *ContainerPollingParams) error
} }
type clientPack struct { type clientPack struct {