Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateCredentials ¶
func UpdateCredentials(input UpdateCredentialsInput) error
UpdateCredentials updates the CAPA controller bootstrap secret RolloutControllers() must be called after any change to the controller bootstrap secret to take effect.
func ZeroCredentials ¶
func ZeroCredentials(input ZeroCredentialsInput) error
ZeroCredentials zeroes out the CAPA controller bootstrap secret. RolloutControllers() must be called after any change to the controller bootstrap secret to take effect.
Types ¶
type UpdateCredentialsInput ¶
type UpdateCredentialsInput struct { KubeconfigPath string KubeconfigContext string Credentials string Namespace string }
UpdateCredentialsInput defines the specs for update credentials input.
type ZeroCredentialsInput ¶
type ZeroCredentialsInput struct { KubeconfigPath string KubeconfigContext string Namespace string }
ZeroCredentialsInput defines the specs for zero credentials input.
Click to show internal directories.
Click to hide internal directories.