Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepHashObject ¶
DeepHashObject writes specified object to hash using the pretty library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.
func GenerateBindingName ¶
GenerateBindingName will generate ClusterRoleBinding name or RoleBinding name. sample: {userName}-{hash}
func GenerateUserHash ¶ added in v1.9.2
GenerateUserHash generates fixed length hash for hexed user to prevent hexed username as label over length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.