package
23.0.0-beta.1+incompatible
Repository: https://github.com/nobidev/docker-cli.git
Documentation: pkg.go.dev
# Functions
Inspect fetches objects by reference using GetRefFunc and writes the json representation to the output writer.
NewIndentedInspector generates a new inspector with an indented representation of elements.
NewJSONInspector generates a new inspector with a compact representation of elements.
NewTemplateInspector creates a new inspector with a template.
NewTemplateInspectorFromString creates a new TemplateInspector from a string which is compiled into a template.
# Structs
TemplateInspector uses a text template to inspect elements.
# Interfaces
Inspector defines an interface to implement to process elements.
# Type aliases
GetRefFunc is a function which used by Inspect to fetch an object from a reference.