package testutils

import "github.com/docker/cli/components/engine/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
v17.12.0-ce-rc1+incompatible
Published
Dec 7, 2017
Platform
js/wasm
Imports
6 packages
Last checked
13 minutes ago

Tools for package owners.