Keyed is expected to be implemented by the elements of the devfile top-level lists (such as Command, Component, Project, ...). The Keys of list objects will typically be used to merge the top-level lists according to strategic merge patch rules, during parent or plugin overriding. +k8s:deepcopy-gen
| 23 | // according to strategic merge patch rules, during parent or plugin overriding. |
| 24 | // +k8s:deepcopy-gen=false |
| 25 | type Keyed interface { |
| 26 | // Key is a string that allows uniquely identifying the object, |
| 27 | // especially in the Devfile top-level lists that are map-like K8S-compatible lists. |
| 28 | Key() string |
| 29 | } |
| 30 | |
| 31 | // KeyedList is a list of object that are uniquely identified by a Key |
| 32 | // The devfile top-level list (such as Commands, Components, Projects, ...) |
nothing calls this directly
no outgoing calls
no test coverage detected