package eventstestutils

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.12.2
Published
Oct 11, 2016
Platform
js/wasm
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.