Created
March 4, 2020 21:06
-
-
Save jortel/4c60d2954bda1dcbe133f6fda954aced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IncompatibleGVKs | |
type IncompatibleGVKs struct { | |
Namespaces []Namespace `json:"namespaces,omitempty"` | |
} | |
// Workload is a store for unhealthy resource and it's dependents | |
type GVK struct { | |
Group string `json:"group"` | |
Version string `json:"version"` | |
Kind string `json:"kind"` | |
} | |
// Namespace is a store for unhealthy resources in a namespace | |
type Namespace struct { | |
Name string `json:"name"` | |
IncompatibleGVK []GVK `json:"gvks"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment