()
| 525 | } |
| 526 | |
| 527 | func ExampleInstance_PrintVersionList_yaml() { |
| 528 | instance := Instance{ |
| 529 | DeprecatedVersions: []Version{testVersionDeployment}, |
| 530 | } |
| 531 | _ = instance.PrintVersionList("yaml") |
| 532 | |
| 533 | // Output: |
| 534 | // deprecated-versions: |
| 535 | // - version: extensions/v1beta1 |
| 536 | // kind: Deployment |
| 537 | // deprecated-in: v1.9.0 |
| 538 | // removed-in: v1.16.0 |
| 539 | // replacement-api: apps/v1 |
| 540 | // replacement-available-in: v1.10.0 |
| 541 | // component: k8s |
| 542 | } |
| 543 | |
| 544 | func ExampleInstance_PrintVersionList_normal() { |
| 545 | instance := Instance{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…