package interfaces type Resource interface { Kind() string Name() string } type ResourceList struct { ItemKind string Items []Resource }