exoscale / egoscale

exoscale golang bindings
https://pkg.go.dev/github.com/exoscale/egoscale/v3
Apache License 2.0
31 stars 14 forks source link

Add an helper function to list sks cluster deprecated resources #551

Closed PhilippeChepy closed 2 years ago

PhilippeChepy commented 2 years ago

Returns an array of structures like that:

type SKSClusterDeprecatedResource struct {
    Group          *string
    RemovedRelease *string
    Resource       *string
    SubResource    *string
    Version        *string
    RawProperties  map[string]string
}

Example data:

{
  "Group": "policy",
  "RemovedRelease": "1.25",
  "Resource": "podsecuritypolicies",
  "SubResource": "",
  "Version": "v1beta1",
  "RawProperties": {
    "group": "policy",
    "removed_release": "1.25",
    "resource": "podsecuritypolicies",
    "subresource": "",
    "version": "v1beta1"
  }
}
shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #42488: CLI: SKS deprecated kubernetes API support.