Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶ added in v1.2.0
func Retry(ctx context.Context, maxRetries int, intervalSec int, retryFunc func(ctx context.Context) error) error
Retry will retry the given function until it returns nil or the maxRetries is reached. If the maxRetries is reached, the last error will be returned. 0 retries means the function will be called once without retrying.
func UpdateSecret ¶
func UpdateSecret(ctx context.Context, clnt *passbolt.Client, scheme *runtime.Scheme, pbscrt *passboltv1alpha2.PassboltSecret, secret *corev1.Secret) func() error
UpdateSecret updates the kubernetes secret with the data from passbolt The thrown error is of type SyncError
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.