Documentation ¶
Index ¶
- func RunAsUnixID(f func() error, id UnixID) error
- func WritePath(dst service.FilePath, src string, wr FileWriter) error
- func WritePathPrivileged(dst service.FilePath, src string, wr FileWriter) error
- type Copies
- type CopyWriter
- type FileWriter
- type Finalization
- type Installer
- type List
- type OSPackages
- type Option
- type Setup
- type Step
- type SymlinkWriter
- type Symlinks
- type Template
- type UnixID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAsUnixID ¶
func WritePathPrivileged ¶
func WritePathPrivileged(dst service.FilePath, src string, wr FileWriter) error
Types ¶
type CopyWriter ¶
type CopyWriter struct {
// contains filtered or unexported fields
}
func NewCopyWriter ¶
func NewCopyWriter(repl Template) *CopyWriter
func (*CopyWriter) GobDecode ¶
func (w *CopyWriter) GobDecode(data []byte) error
func (*CopyWriter) GobEncode ¶
func (w *CopyWriter) GobEncode() ([]byte, error)
func (*CopyWriter) LoadSource ¶
func (w *CopyWriter) LoadSource(src string) error
func (*CopyWriter) WriteDestination ¶
func (w *CopyWriter) WriteDestination(dst string) error
type FileWriter ¶
type Finalization ¶
type Finalization struct {
// contains filtered or unexported fields
}
func NewFinalization ¶
func NewFinalization(repl Template) Finalization
type List ¶
type List struct {
// contains filtered or unexported fields
}
func NewListCached ¶
func NewListCached(cache io.ReadWriter) (List, error)
type OSPackages ¶
type OSPackages struct{}
type SymlinkWriter ¶
type SymlinkWriter struct {
// contains filtered or unexported fields
}
func NewSymlinkWriter ¶
func NewSymlinkWriter() *SymlinkWriter
func (*SymlinkWriter) GobDecode ¶
func (w *SymlinkWriter) GobDecode(data []byte) error
func (*SymlinkWriter) GobEncode ¶
func (w *SymlinkWriter) GobEncode() ([]byte, error)
func (*SymlinkWriter) LoadSource ¶
func (w *SymlinkWriter) LoadSource(src string) error
func (*SymlinkWriter) WriteDestination ¶
func (w *SymlinkWriter) WriteDestination(dst string) error
Click to show internal directories.
Click to hide internal directories.