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