forked from TrueCloudLab/frostfs-testlib
Implemented neofs-go, neo-go, neofs-authmate lib
This commit is contained in:
parent
d3e5ee2231
commit
c48f7b7ff2
25 changed files with 2306 additions and 0 deletions
20
cli/authmate/authmate.py
Normal file
20
cli/authmate/authmate.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
from typing import Optional
|
||||
|
||||
from shell import Shell
|
||||
|
||||
from .secret import NeofsAuthmateSecret
|
||||
from .version import NeofsAuthmateVersion
|
||||
|
||||
|
||||
class NeofsAuthmate:
|
||||
secret: Optional[NeofsAuthmateSecret] = None
|
||||
version: Optional[NeofsAuthmateVersion] = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
shell: Shell,
|
||||
neofs_authmate_exec_path: str,
|
||||
):
|
||||
|
||||
self.secret = NeofsAuthmateSecret(shell, neofs_authmate_exec_path)
|
||||
self.version = NeofsAuthmateVersion(shell, neofs_authmate_exec_path)
|
Loading…
Add table
Add a link
Reference in a new issue