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

Function ExampleInstance_DisplayOutput_normal

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

Source from the content-addressed store, hash-verified

92}
93
94func ExampleInstance_DisplayOutput_normal() {
95 instance := &Instance{
96 TargetVersions: map[string]string{
97 "foo": "v1.16.0",
98 },
99 Outputs: []*Output{
100 testOutput1,
101 testOutput2,
102 testOutputDeprecatedNotRemoved,
103 },
104 OutputFormat: "normal",
105 Components: []string{"foo"},
106 }
107 _ = instance.DisplayOutput()
108
109 // Output:
110 // NAME-------------------- KIND-------- VERSION------------- REPLACEMENT-- REMOVED-- DEPRECATED-- REPL AVAIL--
111 // some name one----------- Deployment-- extensions/v1beta1-- apps/v1------ true----- true-------- true--------
112 // some name two----------- Deployment-- extensions/v1beta1-- apps/v1------ true----- true-------- true--------
113 // deprecated not removed-- Deployment-- apps/v1------------- none--------- false---- true-------- false-------
114}
115
116func ExampleInstance_DisplayOutput_onlyShowRemoved() {
117 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…