CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
docker_injector.FatManifest Class Reference

Public Member Functions

def __init__
 
def init_cvmfs_layer
 
def inject
 
def is_cvmfs_prepared
 
def get_gz_digest
 
def as_JSON
 

Public Attributes

 manif
 

Detailed Description

Class which represents a "fat" OCI image configuration manifest

Definition at line 21 of file docker_injector.py.

Constructor & Destructor Documentation

def docker_injector.FatManifest.__init__ (   self,
  manif 
)

Definition at line 25 of file docker_injector.py.

Member Function Documentation

def docker_injector.FatManifest.as_JSON (   self)
Retrieve JSON version of OCI manifest (for upload)

Definition at line 102 of file docker_injector.py.

def docker_injector.FatManifest.get_gz_digest (   self)
Retrieves the GZ digest necessary for layer downloading

Definition at line 96 of file docker_injector.py.

def docker_injector.FatManifest.init_cvmfs_layer (   self,
  tar_digest,
  gz_digest 
)
Method which initializes the cvmfs injection capability by adding an empty /cvmfs layer
to the image's fat manifest

Definition at line 28 of file docker_injector.py.

def docker_injector.FatManifest.inject (   self,
  tar_digest,
  gz_digest 
)
Injects a new version of the layer by replacing the corresponding digests

Definition at line 58 of file docker_injector.py.

Here is the call graph for this function:

def docker_injector.FatManifest.is_cvmfs_prepared (   self)
Checks whether image is prepared for cvmfs injection

Definition at line 89 of file docker_injector.py.

Referenced by docker_injector.FatManifest.inject().

Here is the caller graph for this function:

Member Data Documentation


The documentation for this class was generated from the following file: