FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stackrox/roxctl/common/printer/objectprinter.go at master · stackrox/stackrox · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
stackrox
/
stackrox
Public
Notifications
You must be signed in to change notification settings
Fork
191
Star
1.3k
Code
Issues
54
Pull requests
604
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
stackrox
/
roxctl
/
common
/
printer
/
objectprinter.go
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (11 loc) · 426 Bytes
Breadcrumbs
stackrox
/
roxctl
/
common
/
printer
/
objectprinter.go
Copy path
File metadata and controls
13 lines (11 loc) · 426 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
package
printer
import
(
"io"
)
// ObjectPrinter abstracts different printers which are capable of printing formatted data of a JSON compatible
// object
type
ObjectPrinter
interface
{
// Print takes a jsonObject as input and prints the contents of it in a formatted way to the given io.Writer
// NOTE: The passed jsonObject MUST be able to be passed to json.Marshal
Print
(
jsonObject
interface
{},
out
io.
Writer
)
error
}
Back
|
FazBrowse Home
|
New Git URL