Documentation ¶
Index ¶
- func ContextWithSid(ctx context.Context, sid string) context.Context
- func NewService(name string, ln listener.Listener, h handler.Handler, opts ...Option) service.Service
- func SidFromContext(ctx context.Context) string
- type Option
- func AdmissionOption(admission admission.Admission) Option
- func LoggerOption(logger logger.Logger) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func SidFromContext ¶
Types ¶
type Option ¶
type Option func(opts *options)
func AdmissionOption ¶
func LoggerOption ¶
func PostDownOption ¶
func PostUpOption ¶
func PreDownOption ¶
func PreUpOption ¶
func RecordersOption ¶
func RecordersOption(recorders ...recorder.RecorderObject) Option
Click to show internal directories.
Click to hide internal directories.