MCPcopy Create free account
hub / github.com/devfile/api / Keyed

Interface Keyed

pkg/apis/workspaces/v1alpha2/keyed.go:25–29  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

23// according to strategic merge patch rules, during parent or plugin overriding.
24// +k8s:deepcopy-gen=false
25type 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, ...)

Callers

nothing calls this directly

Implementers 15

Commandpkg/apis/workspaces/v1alpha2/commands.
CommandParentOverridepkg/apis/workspaces/v1alpha2/zz_genera
CommandPluginOverridepkg/apis/workspaces/v1alpha2/zz_genera
CommandPluginOverrideParentOverridepkg/apis/workspaces/v1alpha2/zz_genera
Componentpkg/apis/workspaces/v1alpha2/component
ComponentParentOverridepkg/apis/workspaces/v1alpha2/zz_genera
ComponentPluginOverridepkg/apis/workspaces/v1alpha2/zz_genera
ComponentPluginOverrideParentOverridepkg/apis/workspaces/v1alpha2/zz_genera
Projectpkg/apis/workspaces/v1alpha2/projects.
ProjectParentOverridepkg/apis/workspaces/v1alpha2/zz_genera
StarterProjectpkg/apis/workspaces/v1alpha2/projects.
StarterProjectParentOverridepkg/apis/workspaces/v1alpha2/zz_genera

Calls

no outgoing calls

Tested by

no test coverage detected