Documentation ¶
Index ¶
- Variables
- func NewFuncLogger(appName, path, function, requestID string) io.Writer
- func RunAsyncRunner(ctx context.Context, tasksrv string, n int)
- type Config
- type FuncLogger
- type Logger
- type Metric
- type MetricLogger
- func (l *MetricLogger) Log(ctx context.Context, metric map[string]interface{})
- func (l *MetricLogger) LogCount(ctx context.Context, name string, value int)
- func (l *MetricLogger) LogGauge(ctx context.Context, name string, value int)
- func (l *MetricLogger) LogTime(ctx context.Context, name string, value time.Duration)
- type Runner
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewFuncLogger ¶
Types ¶
type FuncLogger ¶
type FuncLogger struct {
// contains filtered or unexported fields
}
FuncLogger reads STDERR output from a container and outputs it in a parseable structured log format, see: https://github.com/iron-io/functions/issues/76
type MetricLogger ¶
type MetricLogger struct{}
func NewMetricLogger ¶
func NewMetricLogger() *MetricLogger
func (*MetricLogger) Log ¶
func (l *MetricLogger) Log(ctx context.Context, metric map[string]interface{})
func (*MetricLogger) LogCount ¶
func (l *MetricLogger) LogCount(ctx context.Context, name string, value int)
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (Runner) EnsureImageExists ¶
Click to show internal directories.
Click to hide internal directories.