Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrGetPasswordSecret is an error string for failing to get password secret ErrGetPasswordSecret = "cannot get password secret" // VersionV1Beta1 is used for resources that meet the v1beta1 criteria // here: https://github.com/upbound/arch/pull/33 VersionV1Beta1 = "v1beta1" )
Variables ¶
This section is empty.
Functions ¶
func AddCommonReferences ¶
AddCommonReferences adds some common reference fields. This is a part of resource generation pipeline.
func GetField ¶ added in v0.35.0
GetField returns the value of field as a string in a map[string]interface{},
fails properly otherwise.
func PasswordGenerator ¶ added in v0.39.0
func PasswordGenerator(secretRefFieldPath, toggleFieldPath string) tjconfig.NewInitializerFn
PasswordGenerator returns an InitializerFn that will generate a password for a resource if the toggle field is set to true and the secret referenced by the secretRefFieldPath is not found or does not have content corresponding to the password key.
func RemoveIndex ¶ added in v0.41.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.