Documentation ¶
Index ¶
- func GetEvaluationDefinition(k8sclient client.Client, log logr.Logger, ctx context.Context, ...) (*apilifecycle.KeptnEvaluationDefinition, error)
- func GetItemStatus(name string, instanceStatus []apilifecycle.ItemStatus) apilifecycle.ItemStatus
- func GetOldStatus(name string, statuses []apilifecycle.ItemStatus) apicommon.KeptnState
- func GetRequestInfo(req ctrl.Request) map[string]string
- func GetTaskDefinition(k8sclient client.Client, log logr.Logger, ctx context.Context, ...) (*apilifecycle.KeptnTaskDefinition, error)
- func KeptnWorkloadVersionResourceRefUIDIndexFunc(rawObj client.Object) []string
- func MergeMaps[M1 ~map[K]V, K comparable, V any](map1 M1, map2 M1) M1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEvaluationDefinition ¶
func GetItemStatus ¶
func GetItemStatus(name string, instanceStatus []apilifecycle.ItemStatus) apilifecycle.ItemStatus
GetItemStatus retrieves the state of the task/evaluation, if it does not exists, it creates a default one
func GetOldStatus ¶
func GetOldStatus(name string, statuses []apilifecycle.ItemStatus) apicommon.KeptnState
GetOldStatus retrieves the state of the task/evaluation
func GetRequestInfo ¶
GetRequestInfo extracts name and namespace from a controller request.
func GetTaskDefinition ¶
func MergeMaps ¶
func MergeMaps[M1 ~map[K]V, K comparable, V any](map1 M1, map2 M1) M1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.