MCPcopy Index your code
hub / github.com/coder/coder / ChangeFormatterData

Function ChangeFormatterData

cli/cliui/output.go:222–224  ·  view source on GitHub ↗

ChangeFormatterData allows manipulating the data passed to an output format.

(format OutputFormat, change func(data any) (any, error))

Source from the content-addressed store, hash-verified

220// ChangeFormatterData allows manipulating the data passed to an output
221// format.
222func ChangeFormatterData(format OutputFormat, change func(data any) (any, error)) *DataChangeFormat {
223 return &DataChangeFormat{format: format, change: change}
224}
225
226func (d *DataChangeFormat) ID() string {
227 return d.format.ID()

Callers 15

showOrganizationRolesMethod · 0.92
taskStatusMethod · 0.92
speedtestMethod · 0.92
userOIDCClaimsMethod · 0.92
showOrganizationMethod · 0.92
taskListMethod · 0.92
syncStatusMethod · 0.92
secretListMethod · 0.92
NewLicenseFormatterFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected