MCPcopy Index your code
hub / github.com/containerd/nerdctl / Driver

Interface Driver

pkg/logging/logging.go:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59)
60
61type Driver interface {
62 Init(dataStore, ns, id string) error
63 PreProcess(ctx context.Context, dataStore string, config *logging.Config) error
64 Process(stdout <-chan string, stderr <-chan string) error
65 PostProcess() error
66}
67
68// SyncDriver is an optional capability for a Driver whose log entries can be
69// written synchronously and cheaply (e.g. to a local file). When a driver

Callers 4

generateLogConfigFunction · 0.65
loggingProcessAdapterFunction · 0.65
loggingProcessAdapterFunction · 0.65
loggingProcessAdapterFunction · 0.65

Implementers 7

JournaldLoggerpkg/logging/journald_logger.go
SyslogLoggerpkg/logging/syslog_logger.go
NoneLoggerpkg/logging/none_logger.go
JSONLoggerpkg/logging/json_logger.go
MockDriverpkg/logging/logging_test.go
SyncMockDriverpkg/logging/logging_test.go
FluentdLoggerpkg/logging/fluentd_logger.go

Calls

no outgoing calls

Tested by

no test coverage detected