Documentation
¶
Index ¶
Constants ¶
View Source
const ScopeName = "github.com/kofuk/premises/runner/internal/commands/exteriord/proc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecUserType ¶
type ExecUserType int
const ( UserRestricted ExecUserType = iota UserPrivileged )
type Option ¶
type Option func(p *Proc)
func Restart ¶
func Restart(restart RestartPolicy) Option
func RestartDelay ¶
func RestartRandomDelay ¶
func RestartRandomDelay() Option
func UserType ¶
func UserType(userType ExecUserType) Option
type RestartPolicy ¶
type RestartPolicy int
const ( RestartOnFailure RestartPolicy = iota RestartNever )
Click to show internal directories.
Click to hide internal directories.