Documentation
¶
Index ¶
- func CopySecret(ctx context.Context, c client.Client, workspace *dw.DevWorkspace, ...) (namespaceSecret *corev1.Secret, err error)
- func GetNamespaceRegistryAuthSecret(ctx context.Context, c client.Client, workspace *dw.DevWorkspace, ...) (*corev1.Secret, error)
- func HandleRegistryAuthSecret(ctx context.Context, c client.Client, workspace *dw.DevWorkspace, ...) (*corev1.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySecret ¶
func CopySecret(ctx context.Context, c client.Client, workspace *dw.DevWorkspace, sourceSecret *corev1.Secret, scheme *runtime.Scheme, log logr.Logger) (namespaceSecret *corev1.Secret, err error)
CopySecret copies the given secret from the operator namespace to the workspace namespace.
func GetNamespaceRegistryAuthSecret ¶
func GetNamespaceRegistryAuthSecret(ctx context.Context, c client.Client, workspace *dw.DevWorkspace, dwOperatorConfig *controllerv1alpha1.OperatorConfiguration, scheme *runtime.Scheme, log logr.Logger, ) (*corev1.Secret, error)
GetRegistryAuthSecret retrieves the registry authentication secret for accessing backup images based on the operator configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.