MCPcopy Index your code
hub / github.com/FairwindsOps/pluto / ExampleInstance_DisplayOutput_markdown

Function ExampleInstance_DisplayOutput_markdown

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

Source from the content-addressed store, hash-verified

177}
178
179func ExampleInstance_DisplayOutput_markdown() {
180 instance := &Instance{
181 TargetVersions: map[string]string{
182 "foo": "v1.16.0",
183 },
184 Outputs: []*Output{
185 testOutput1,
186 testOutput2,
187 },
188 OutputFormat: "markdown",
189 Components: []string{"foo"},
190 }
191 _ = instance.DisplayOutput()
192
193 // Output:
194 // | NAME | NAMESPACE | KIND | VERSION | REPLACEMENT | DEPRECATED | DEPRECATED IN | REMOVED | REMOVED IN | REPL AVAIL | REPL AVAIL IN |
195 // |---------------|-----------------|------------|--------------------|-------------|------------|---------------|---------|------------|------------|---------------|
196 // | some name one | pluto-namespace | Deployment | extensions/v1beta1 | apps/v1 | true | v1.9.0 | true | v1.16.0 | true | v1.10.0 |
197 // | some name two | <UNKNOWN> | Deployment | extensions/v1beta1 | apps/v1 | true | v1.9.0 | true | v1.16.0 | true | v1.10.0 |
198}
199
200func ExampleInstance_DisplayOutput_markdown_customcolumns() {
201 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…