Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultRuntimeConfigName = "default"
)
Variables ¶
This section is empty.
Functions ¶
func FetchMergedRuntimeConfig ¶
func FetchMergedRuntimeConfig(ctx context.Context, c client.Client, name, namespace string) controllerutils.FetchResult[*aimv1alpha1.AIMRuntimeConfigCommon]
FetchMergedRuntimeConfig fetches and merges namespace and cluster-scoped runtime configs. Returns a FetchResult containing the merged config.
Behavior:
- If both namespace and cluster configs exist, they are merged (namespace takes precedence)
- If only one exists, it is returned
- If neither exists and name is "default", returns nil config with no error (OK)
- If neither exists and name is not "default", returns NotFound error
func GetRuntimeConfigHealth ¶
func GetRuntimeConfigHealth(config *aimv1alpha1.AIMRuntimeConfigCommon) controllerutils.ComponentHealth
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.