Versions in this module Expand all Collapse all v0 v0.0.2 Mar 11, 2024 v0.0.1 Mar 11, 2024 Changes in this version + const MaxEventSize + func NewService(name string, ln listener.Listener, h handler.Handler, opts ...Option) service.Service + type Event struct + Message string + Time time.Time + type Option func(opts *options) + func AdmissionOption(admission admission.Admission) Option + func LoggerOption(logger logger.Logger) Option + func ObserverOption(observer observer.Observer) Option + func PostDownOption(cmds []string) Option + func PostUpOption(cmds []string) Option + func PreDownOption(cmds []string) Option + func PreUpOption(cmds []string) Option + func RecordersOption(recorders ...recorder.RecorderObject) Option + func StatsOption(stats *stats.Stats) Option + type ServiceEvent struct + Kind string + Msg string + Service string + State State + func (ServiceEvent) Type() observer.EventType + type State string + const StateClosed + const StateFailed + const StateReady + const StateRunning + type Status struct + func (p *Status) CreateTime() time.Time + func (p *Status) Events() []Event + func (p *Status) State() State + func (p *Status) Stats() *stats.Stats