dump

package
v0.2.1-0...-d3ae3b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Off suppresses dumping matching messages.
	Off verbosity = iota
	// NameOnly dumps the names of matching messages.
	NameOnly
	// Full dumps full details of matching requests and replies.
	Full
)
View Source
const (
	// DefaultConfig is the default dump configuration.
	DefaultConfig = "full:.*,off:Version,.*List.*,.*Status.*,.*Info.*,.*Log.*,.*Reopen.*"
)

Variables

This section is empty.

Functions

func ReplyMessage

func ReplyMessage(kind, name string, reply interface{}, latency time.Duration)

ReplyMessage dumps a CRI reply.

func RequestMessage

func RequestMessage(kind, name string, request interface{})

RequestMessage dumps a CRI request.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL