Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertTemplateToPatch ¶ added in v2.3.0
func ConvertTemplateToPatch(podTemplate json.RawMessage) (*piraeusv1.Patch, error)
func SatelliteConfigurations ¶
func SatelliteConfigurations(ctx context.Context, node *corev1.Node, configs ...piraeusv1.LinstorSatelliteConfiguration) (*piraeusv1.LinstorSatelliteConfiguration, []string)
SatelliteConfigurations merges all configurations that apply based on the given node labels
Merging happens by: * Concatenating all patches in the matching configs * Merging all properties by name. A property defined in a "later" config overrides previous property definitions. * Merging all storage pools by name. A storage pool defined in a "later" config overrides previous property definitions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.