karmada/operator/pkg/util
Mohamed Awnallah a83c26eac9 operator/pkg/certs: test certs
In this commit, we introduce unit tests for operator `certs` package.
The test cases include but not limited to:

- Test private key generation.
- Test self-signed certificate authority (CA) generation.
- Verify creation of self-signed certificate and key files within the CA.
- Include tests for utility functions, such as appending to Subject Alternative Names in SSL/TLS certificates.
- Add tests for Karmada Store operations related to certificates stored in Kubernetes Secrets:
  - Create
  - Read
  - Update
  - Load

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-19 15:47:05 +03:00
..
apiclient Merge pull request #5659 from mohamedawnallah/unitTestWaitAPIClient 2024-10-17 20:41:29 +08:00
patcher operator/pkg/util: unit test patcher 2024-10-16 19:59:19 +03:00
testdata Operator support work with crds v1.7.0 2023-10-18 13:26:09 +00:00
endpoint.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
endpoint_test.go operator/pkg/util: unit test endpoint 2024-10-10 10:47:17 +03:00
kubeconfig.go operator/pkg/util: unit test kubeconfig 2024-10-11 05:29:56 +03:00
kubeconfig_test.go operator/pkg/util: unit test kubeconfig 2024-10-11 05:29:56 +03:00
naming.go feat: support install karmada search with operator 2023-12-05 20:46:25 +08:00
naming_test.go operator/pkg/util: unit test naming 2024-10-10 16:49:33 +03:00
template.go cleanup: replace text/template with html/template 2024-05-17 15:37:55 +08:00
template_test.go operator/pkg/util: unit test template 2024-10-10 17:22:35 +03:00
util.go operator/pkg/certs: test certs 2024-10-19 15:47:05 +03:00
util_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00