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

Function ExampleInstance_PrintVersionList_json

pkg/api/versions_test.go:517–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515}
516
517func ExampleInstance_PrintVersionList_json() {
518 instance := Instance{
519 DeprecatedVersions: []Version{testVersionDeployment},
520 }
521 _ = instance.PrintVersionList("json")
522
523 // Output:
524 // {"deprecated-versions":[{"version":"extensions/v1beta1","kind":"Deployment","deprecated-in":"v1.9.0","removed-in":"v1.16.0","replacement-api":"apps/v1","replacement-available-in":"v1.10.0","component":"k8s"}]}
525}
526
527func ExampleInstance_PrintVersionList_yaml() {
528 instance := Instance{

Callers

nothing calls this directly

Calls 1

PrintVersionListMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…