Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePassword ¶ added in v1.38.0
func GeneratePassword() string
Types ¶
type Hook ¶ added in v1.38.0
func NewBasicAuthPlainHook ¶ added in v1.38.0
func (*Hook) ExternalAuthKey ¶ added in v1.38.0
func (*Hook) Filter ¶ added in v1.38.0
func (h *Hook) Filter(obj *unstructured.Unstructured) (go_hook.FilterResult, error)
Filter extracts password from the Secret. Password can be stored as a raw string or as a basic auth plain format (user:{PLAIN}password). Custom FilterFunc is called for custom password extraction.
func (*Hook) Handle ¶ added in v1.38.0
Handle restores password from the configuration or from the Secret and puts it to internal values. It generates new password if there is no password in the configuration and no Secret found.
func (*Hook) PasswordInternalKey ¶ added in v1.38.0
func (*Hook) PasswordKey ¶ added in v1.38.0
Click to show internal directories.
Click to hide internal directories.