installifdifferent

package
v0.0.0-...-e08062c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2017 License: GPL-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureTextFromBinaryFile

func CaptureTextFromBinaryFile(fsb afero.Fs, filename string, regularExpression string) string

Types

type DefaultImpl

type DefaultImpl struct {
	FileSystemBackend afero.Fs
}

func (*DefaultImpl) Proceed

func (iid *DefaultImpl) Proceed(o metadata.Object) (bool, error)

type Interface

type Interface interface {
	Proceed(o metadata.Object) (bool, error)
}

type KernelFileInfo

type KernelFileInfo struct {
	Arch    LinuxArch
	Type    KernelType
	Version string

	FileSystemBackend afero.Fs
}

func NewKernelFileInfo

func NewKernelFileInfo(fsb afero.Fs, filename string) (*KernelFileInfo, error)

type KernelType

type KernelType int
const (
	UnknownKernelType KernelType = iota
)

type LinuxArch

type LinuxArch int
const (
	UnknownLinuxArch LinuxArch = iota
	ARMLinuxArch     LinuxArch = iota
)

type Pattern

type Pattern struct {
	Type       PatternType
	RegExp     string `json:"regexp"`
	Seek       int64  `json:"seek"`
	BufferSize int64  `json:"buffer-size"`

	FileSystemBackend afero.Fs
}

func NewPatternFromInstallIfDifferentObject

func NewPatternFromInstallIfDifferentObject(fsb afero.Fs, pattern map[string]interface{}) (*Pattern, error)

func (*Pattern) Capture

func (p *Pattern) Capture(target string) (string, error)

func (*Pattern) IsValid

func (p *Pattern) IsValid() bool

type PatternType

type PatternType int
const (
	CustomPattern      PatternType = iota
	UBootPattern       PatternType = iota
	LinuxKernelPattern PatternType = iota
)

type TargetGetter

type TargetGetter interface {
	GetTarget() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL