Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeCommand ¶
func EscapeCommand(argv []string) string
EscapeCommand is used to escape a command
Types ¶
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
Manifest defines a systemd unit
func (*Manifest) Render ¶
func (m *Manifest) Render() string
Render is responsible for generating the final unit
func (*Manifest) Set ¶
func (m *Manifest) Set(name, key, value string)
Set adds a key/pair to the a section in the systemd manifest
func (*Manifest) SetSection ¶
func (m *Manifest) SetSection(name, content string)
SetSection sets the raw content of a section
Click to show internal directories.
Click to hide internal directories.