Versions in this module Expand all Collapse all v0 v0.0.2 Feb 16, 2026 Changes in this version + const AnnotationConfigHash + const AnnotationRestartedAt + const AnnotationSpecHash + const AnnotationStatefulSetVersion + const LabelAppK8sKey + const LabelAppKey + const LabelClickHouseReplicaID + const LabelClickHouseShardID + const LabelClickHouseValue + const LabelInstanceK8sKey + const LabelKeeperAllReplicas + const LabelKeeperReplicaID + const LabelKeeperValue + const LabelRoleKey + func AddHashWithKeyToAnnotations(obj client.Object, key string, specHash string) + func AddObjectConfigHash(obj client.Object, hash string) + func AppRequirements(namespace, app string) *client.ListOptions + func ApplyDefault[T any](source *T, defaults T) error + func DeepHashObject(objectToWrite any) (string, error) + func DeepHashResource(obj client.Object, specFields []string) (string, error) + func ExecuteParallel[Item any, Id comparable, Tasks ~[]Item, Result any](tasks Tasks, f func(Item) (Id, Result, error)) map[Id]ExecutionResult[Id, Result] + func GeneratePassword() string + func GetConfigHashFromObject(found client.Object) string + func GetFunctionName(temp any) string + func GetSpecHashFromObject(found client.Object) string + func MergeMaps[Value any](mapsToMerge ...map[string]Value) map[string]Value + func PathToName(path string) string + func Sha256Hash(password []byte) string + func ShouldEmitEvent(err error) bool + func SortKey[T any, V cmp.Ordered](slice []T, key func(T) V) + func UpdateResult(result *ctrl.Result, update *ctrl.Result) + type ExecutionResult struct + Err error + Result Result + type Logger struct + func NewLogger(l *zap.Logger) Logger + func (l Logger) Debug(msg string, keysAndVals ...any) + func (l Logger) Error(err error, msg string, keysAndVals ...any) + func (l Logger) Fatal(err error, msg string, keysAndVals ...any) + func (l Logger) Info(msg string, keysAndVals ...any) + func (l Logger) Named(name string) Logger + func (l Logger) Panic(err error, msg string, keysAndVals ...any) + func (l Logger) Warn(msg string, keysAndVals ...any) + func (l Logger) With(keysAndVals ...any) Logger + func (l Logger) WithContext(ctx context.Context, object client.Object) Logger