mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Bump hvac to 2.3.* (#12168)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "2.2.*"
|
||||
version = "2.3.*"
|
||||
upstream_repository = "https://github.com/hvac/hvac"
|
||||
requires = ["types-requests"]
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from hvac.api.system_backend.system_backend_mixin import SystemBackendMixin
|
||||
from requests import Response
|
||||
|
||||
class Raft(SystemBackendMixin):
|
||||
def join_raft_cluster(
|
||||
@@ -16,3 +18,10 @@ class Raft(SystemBackendMixin):
|
||||
def take_raft_snapshot(self): ...
|
||||
def restore_raft_snapshot(self, snapshot): ...
|
||||
def force_restore_raft_snapshot(self, snapshot): ...
|
||||
def read_raft_auto_snapshot_status(self, name: str) -> Response: ...
|
||||
def read_raft_auto_snapshot_config(self, name: str) -> Response: ...
|
||||
def list_raft_auto_snapshot_configs(self) -> Response: ...
|
||||
def create_or_update_raft_auto_snapshot_config(
|
||||
self, name: str, interval: str, storage_type: str, retain: int = 1, **kwargs: Any
|
||||
) -> Response: ...
|
||||
def delete_raft_auto_snapshot_config(self, name: str) -> Response: ...
|
||||
|
||||
@@ -4,3 +4,4 @@ from hvac.api.system_backend.system_backend_mixin import SystemBackendMixin
|
||||
|
||||
class Wrapping(SystemBackendMixin):
|
||||
def unwrap(self, token: Incomplete | None = None): ...
|
||||
def wrap(self, payload: dict[Incomplete, Incomplete] | None = None, ttl: int = 60): ...
|
||||
|
||||
Reference in New Issue
Block a user