Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemdUnitFile ¶
func NewSystemdUnitFile ¶
func NewSystemdUnitFile(Contents string) *SystemdUnitFile
func (*SystemdUnitFile) GetSection ¶
func (self *SystemdUnitFile) GetSection(section string) map[string]string
func (*SystemdUnitFile) Requirements ¶
func (self *SystemdUnitFile) Requirements() map[string][]string
func (*SystemdUnitFile) SetField ¶
func (self *SystemdUnitFile) SetField(section string, key string, value string)
func (*SystemdUnitFile) String ¶
func (self *SystemdUnitFile) String() string
Click to show internal directories.
Click to hide internal directories.