Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Name string JobRequirements map[string][]string Payload *JobPayload State *JobState }
func (*Job) Requirements ¶
type JobPayload ¶
type JobPayload struct { Name string Unit unit.SystemdUnitFile }
func NewJobPayload ¶
func NewJobPayload(name string, uFile unit.SystemdUnitFile) *JobPayload
func (*JobPayload) Conflicts ¶
func (jp *JobPayload) Conflicts() []string
func (*JobPayload) Peers ¶
func (jp *JobPayload) Peers() []string
func (*JobPayload) Type ¶
func (jp *JobPayload) Type() (string, error)
Click to show internal directories.
Click to hide internal directories.