unit

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemdUnitFile

type SystemdUnitFile struct {
	Contents map[string]map[string]string
}

func NewSystemdUnitFile

func NewSystemdUnitFile(Contents string) *SystemdUnitFile

func (*SystemdUnitFile) Description added in v0.1.3

func (self *SystemdUnitFile) Description() string

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

Jump to

Keyboard shortcuts

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