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.11.0-ce-rc3+incompatible
Published
Nov 8, 2017
Platform
js/wasm
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.