Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ELFStart = [4]byte{127, 69, 76, 70} // this is { 0x7f, 'E', 'L', 'F' }
Functions ¶
This section is empty.
Types ¶
type ExecutableFile ¶
type ExecutableFile struct { Digest string `json:"digest"` // the file's SHA26 Path string `json:"path"` Size uint64 `json:"size"` }
func ReadExecutableFromTar ¶
func ReadExecutableFromTar(reader *tar.Reader, header *tar.Header, path string) (*ExecutableFile, error)
ReadExecutableFromTar creates an ExecutableFile object if the file is an ELF
type ImageConfig ¶
type ImageConfig struct { History []historyEntry `json:"history"` RootFs rootFs `json:"rootfs"` }
func NewImageConfig ¶
func NewImageConfig(configBytes []byte) (*ImageConfig, error)
Click to show internal directories.
Click to hide internal directories.