Documentation
¶
Overview ¶
Package modules provides some installer modules for the genesis package. But modules can reside anywhere, as long as they implement the genesis.Module interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockInFile ¶
type BlockInFile struct {
File string
Patterns []string
Lines []string
Success []string
Store *store.Store
Label string
}
func (BlockInFile) Describe ¶
func (bif BlockInFile) Describe() string
func (BlockInFile) ID ¶
func (bif BlockInFile) ID() string
func (BlockInFile) Install ¶
func (bif BlockInFile) Install() (string, error)
func (BlockInFile) Remove ¶
func (bif BlockInFile) Remove() (string, error)
type Command ¶
type Command struct {
Cmd string
Opts []string
PSPattern string
IgnoreErrors bool
Timeout time.Duration
}
func MakeCommand ¶
type File ¶
type LineInFile ¶
type LineInFile struct {
File string
Pattern string
Success string
Line string
Store *store.Store
Label string
Before string
After string
Absent bool
}
func (LineInFile) Describe ¶
func (lif LineInFile) Describe() string
func (LineInFile) ID ¶
func (lif LineInFile) ID() string
func (LineInFile) Install ¶
func (lif LineInFile) Install() (string, error)
func (LineInFile) Remove ¶
func (lif LineInFile) Remove() (string, error)
type Skeleton ¶ added in v0.1.1
type Skeleton struct {
Foo string
}
Skeleton can be any type of object. Commonly it is a struct, but it doesn't have to be.
Click to show internal directories.
Click to hide internal directories.