Documentation ¶
Index ¶
Constants ¶
View Source
const CONDITION_ANNOTATION = "controller-utils/condition"
View Source
const DEEPEQUALS_ANNOTATION = "controller-utils/deepEquals"
View Source
const DELETE_ANNOTATION = "controller-utils/delete"
View Source
const RANDOM_BYTES = 32
View Source
const SECRETFIELD_ANNOTATION = "controller-utils/secretField"
Variables ¶
View Source
var RandEncoding = base64.NewEncoding("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl").WithPadding(base64.NoPadding)
Lossy base64 endcoding to make passwords that will work basically anywhere.
Functions ¶
func NewReadyStatusComponent ¶
Create a ReadyStatus component. Takes 0 or more conditions types. If a type name starts with `-` then the goal is for it to be false, otherwise true. If all requested conditions match, the Ready condition will be set to True.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.