MCPcopy Create free account
hub / github.com/FairwindsOps/pluto / ExampleInstance_DisplayOutput_wide

Function ExampleInstance_DisplayOutput_wide

pkg/api/output_test.go:138–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func ExampleInstance_DisplayOutput_wide() {
139 instance := &Instance{
140 TargetVersions: map[string]string{
141 "foo": "v1.16.0",
142 },
143 Outputs: []*Output{
144 testOutput1,
145 testOutput2,
146 },
147 OutputFormat: "wide",
148 Components: []string{"foo"},
149 }
150 _ = instance.DisplayOutput()
151
152 // Output:
153 // NAME----------- NAMESPACE-------- KIND-------- VERSION------------- REPLACEMENT-- DEPRECATED-- DEPRECATED IN-- REMOVED-- REMOVED IN-- REPL AVAIL-- REPL AVAIL IN--
154 // some name one-- pluto-namespace-- Deployment-- extensions/v1beta1-- apps/v1------ true-------- v1.9.0--------- true----- v1.16.0----- true-------- v1.10.0--------
155 // some name two-- <UNKNOWN>-------- Deployment-- extensions/v1beta1-- apps/v1------ true-------- v1.9.0--------- true----- v1.16.0----- true-------- v1.10.0--------
156}
157
158func ExampleInstance_DisplayOutput_custom() {
159 instance := &Instance{

Callers

nothing calls this directly

Calls 1

DisplayOutputMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…