docker: github.com/docker/docker/daemon/events/testutils Index | Files

package testutils

import "github.com/docker/docker/daemon/events/testutils"

Index

Package Files

testutils.go

func Scan Uses

func Scan(text string) (*events.Message, error)

Scan turns an event string like the default ones formatted in the cli output and turns it into an event message.

func ScanMap Uses

func ScanMap(text string) map[string]string

ScanMap turns an event string like the default ones formatted in the cli output and turns it into map.

Package testutils imports 6 packages (graph) and is imported by 171 packages. Updated 2019-11-27. Refresh now. Tools for package owners.