Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitContainers ¶
func GetInitContainers(devfile dw.DevWorkspaceTemplateSpecContent) (initContainers, mainComponents []dw.Component, err error)
GetInitContainers partitions the components in a devfile's flattened spec into initContainer and non-initContainer lists based off devfile lifecycle bindings and commands. Note that a component can appear in both lists, if e.g. it referred to in a preStart command and in a regular command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.