Documentation
¶
Index ¶
- Constants
- func ReInit()
- func SetLogLevel()
- type Config
- type CopyPaths
- type Imagenie
- type Manager
- func (m *Manager) Add(src, dst string) error
- func (m *Manager) Commit() error
- func (m *Manager) Delete() error
- func (m *Manager) From() error
- func (m *Manager) Labels() map[string]string
- func (m *Manager) Mount() error
- func (m *Manager) Pull() error
- func (m *Manager) Push() error
- func (m *Manager) Run(command []string) error
- func (m *Manager) SetCMD(cmd []string)
- func (m *Manager) SetEntrypoint(entrypoint []string)
- func (m *Manager) SetLabel(k, v string)
- func (m *Manager) Unmount() error
Constants ¶
View Source
const LogLevelEnv = "LOGLEVEL"
LogLevelEnv log-level environment variable name.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel()
SetLogLevel set logrus log-level based on environment variable value.
Types ¶
type Imagenie ¶
type Imagenie struct { TargetMgr *Manager // target container manager // contains filtered or unexported fields }
Imagenie primary application representation.
func NewImagenie ¶
NewImagenie instantiate application.
func (*Imagenie) CleanUp ¶
CleanUp unmount source container, remove source and target working containers.
func (*Imagenie) Copy ¶
Copy loop over paths in order to copy it from source-image into destination container.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager buildah based container manager.
func NewManager ¶
NewManager instantiate and bootstrap manager.
func (*Manager) SetEntrypoint ¶
SetEntrypoint set informed string slice as entrypoint.
Click to show internal directories.
Click to hide internal directories.