MCPcopy
hub / github.com/docker/docker-agent / AddContent

Method AddContent

pkg/tui/dialog/base.go:231–234  ·  view source on GitHub ↗

AddContent adds raw content to the dialog.

(content string)

Source from the content-addressed store, hash-verified

229
230// AddContent adds raw content to the dialog.
231func (dc *Content) AddContent(content string) *Content {
232 dc.parts = append(dc.parts, content)
233 return dc
234}
235
236// AddHelpKeys adds key binding help at the bottom.
237func (dc *Content) AddHelpKeys(bindings ...string) *Content {

Callers 15

ViewMethod · 0.95
buildBodyMethod · 0.95
ViewMethod · 0.95
ViewMethod · 0.45
ViewMethod · 0.45
ViewMethod · 0.45
ViewMethod · 0.45
ViewMethod · 0.45
renderFieldMethod · 0.45
renderSelectionFieldMethod · 0.45
ViewMethod · 0.45
ViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected