package testutils

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

Index

Functions

func Scan

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

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.

Source Files

testutils.go

Version
v1.13.1
Published
Feb 8, 2017
Platform
js/wasm
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.