datadog

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2016 License: BSD-2-Clause Imports: 7 Imported by: 2

Documentation

Overview

Package datadog provides middleware that will send events and timings for image builds to datadog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	builder.Builder
	// contains filtered or unexported fields
}

Builder is an implementation of the builder.Builder interface.

func WithStats

func WithStats(b builder.Builder, c *statsd.Client) *Builder

WithStats returns a new Builder instance that will use the given statsd client.

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, w io.Writer, options builder.BuildOptions) (image string, err error)

Build performs the build using the underlying Builder and tracks how long it took.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL