Documentation ¶
Overview ¶
To avoid circular imports between db/mount/etc. packages, let's define the basic atomfs types in their own package that everyone will then import.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBBasedConfig ¶
type DBBasedConfig struct {
Path string
}
func NewDBBasedConfig ¶
func NewDBBasedConfig(path string) (DBBasedConfig, error)
func (DBBasedConfig) AtomsPath ¶
func (c DBBasedConfig) AtomsPath(parts ...string) string
func (DBBasedConfig) MountedAtomsPath ¶
func (c DBBasedConfig) MountedAtomsPath(parts ...string) string
func (DBBasedConfig) OverlayDirsPath ¶
func (c DBBasedConfig) OverlayDirsPath(parts ...string) string
func (DBBasedConfig) RelativePath ¶
func (c DBBasedConfig) RelativePath(parts ...string) string
type Molecule ¶
type Molecule struct { ID int64 Name string // Atoms is the list of atoms in this Molecule. The first element in // this list is the top most layer in the overlayfs. Atoms []Atom // contains filtered or unexported fields }
func NewMolecule ¶
func (Molecule) MountUnderlyingAtoms ¶
MountUnderlyingAtoms mounts all the underlying atoms at config.MountedAtomsPath().
Click to show internal directories.
Click to hide internal directories.