helper

package
v0.0.0-...-31fc70c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func DiffAnnotations

func DiffAnnotations(expected, current map[string]string) (diff string)

DiffAnnotations permit to diff annotations

func DiffLabels

func DiffLabels(expected, current map[string]string) (diff string)

DiffLabels permit to diff labels

func GetSetting

func GetSetting(key string, config []byte) (value string, err error)

func HashPassword

func HashPassword(password string) (string, error)

func IsOnStatefulSetUpgradeState

func IsOnStatefulSetUpgradeState(o *appv1.StatefulSet) bool

IsOnStatefulSetUpgradeState return false if statefulset not to be currently upgraded

func MergeSettings

func MergeSettings(m1, m2 map[string]string) (res map[string]string, err error)

MergeSettings permit to merge map[string] that contain yaml as string m1 have the priority

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL