mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 04:22:58 +00:00
32 lines
680 B
Python
32 lines
680 B
Python
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
import logging
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
class ManifestInterface:
|
|
"""Common interface for all manifests"""
|
|
@staticmethod
|
|
def manifest_piece(container):
|
|
raise NotImplementedError
|
|
|
|
|
|
class BuildInfoManifest(ManifestInterface):
|
|
@staticmethod
|
|
def manifest_piece(container):
|
|
return None
|
|
|
|
|
|
class CondaEnvironmentManifest(ManifestInterface):
|
|
@staticmethod
|
|
def manifest_piece(container):
|
|
return None
|
|
|
|
|
|
class AptPackagesManifest(ManifestInterface):
|
|
@staticmethod
|
|
def manifest_piece(container):
|
|
return None
|