|
|
@ -2,6 +2,8 @@ from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
|
|
from typing import Literal, NewType, Sequence, TypeAlias, TypedDict
|
|
|
|
from typing import Literal, NewType, Sequence, TypeAlias, TypedDict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from .volume import VolumeName
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ServiceName = NewType("ServiceName", str)
|
|
|
|
ServiceName = NewType("ServiceName", str)
|
|
|
|
ContainerName = NewType("ContainerName", str)
|
|
|
|
ContainerName = NewType("ContainerName", str)
|
|
|
@ -33,7 +35,7 @@ class _VolumeNaturalConfig(TypedDict, total=False):
|
|
|
|
|
|
|
|
|
|
|
|
class _VolumeNaturalRequired(TypedDict, total=True):
|
|
|
|
class _VolumeNaturalRequired(TypedDict, total=True):
|
|
|
|
type: Literal["volume"]
|
|
|
|
type: Literal["volume"]
|
|
|
|
source: str
|
|
|
|
source: VolumeName
|
|
|
|
target: str
|
|
|
|
target: str
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|