Documentation ¶
Index ¶
- func Domain(scope god.Scope) (string, error)
- func LimitLoadToSessionType(sessionType god.DarwinLimitLoadToSessionType) (string, error)
- func Name(opts god.Options) (string, error)
- func New(ctx context.Context, opts god.Options) (god.Unit, error)
- func Path(scope god.Scope, filename string) (string, error)
- func Scope(opts god.Options) (god.Scope, error)
- func Username(opts god.Options) (string, error)
- type ExecError
- type Unit
- func (u *Unit) Create(ctx context.Context) error
- func (u *Unit) Delete(ctx context.Context) error
- func (u *Unit) Disable(ctx context.Context) error
- func (u *Unit) Enable(ctx context.Context) error
- func (u *Unit) Status(ctx context.Context) (god.UnitStatus, error)
- func (u *Unit) ToPlist(writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitLoadToSessionType ¶
func LimitLoadToSessionType(sessionType god.DarwinLimitLoadToSessionType) (string, error)
Types ¶
type ExecError ¶
func (*ExecError) IsBetterWithSudo ¶
func (*ExecError) MatchBadRequestRegex ¶
func (*ExecError) MatchLaunchdReason ¶
Click to show internal directories.
Click to hide internal directories.