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

Function ExampleInstance_PrintVersionList_yaml

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

Source from the content-addressed store, hash-verified

525}
526
527func 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
544func ExampleInstance_PrintVersionList_normal() {
545 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…