package unit
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/coreos/go-systemd/unit"
Index ¶
- func AllMatch(u1 []*UnitOption, u2 []*UnitOption) bool
- func Serialize(opts []*UnitOption) io.Reader
- type UnitOption
Functions ¶
func AllMatch ¶
func AllMatch(u1 []*UnitOption, u2 []*UnitOption) bool
func Serialize ¶
func Serialize(opts []*UnitOption) io.Reader
Serialize encodes all of the given UnitOption objects into a unit file
Types ¶
type UnitOption ¶
func Deserialize ¶
func Deserialize(f io.Reader) (opts []*UnitOption, err error)
Deserialize parses a systemd unit file into a list of UnitOption objects.
func (*UnitOption) Match ¶
func (uo *UnitOption) Match(other *UnitOption) bool
func (*UnitOption) String ¶
func (uo *UnitOption) String() string
Source Files ¶
deserialize.go option.go serialize.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 15 seconds ago –
Tools for package owners.