Documentation ¶
Index ¶
- func CreateCacheFiles(t testing.TB, cachePath string, cacheData map[string]*v1.FileMeta)
- func CreateDirWithErrorCheck(t testing.TB, dirName string)
- func CreateFileWithErrorCheck(t testing.TB, dir, fileName string) *os.File
- func CreateTestIDs(t testing.TB) (correlationID, instanceID uuid.UUID)
- func GenerateSelfSignedCert(t testing.TB) (keyBytes, certBytes []byte)
- func GetGoVersion(t testing.TB, level int) (string, error)
- func GetRequiredModuleVersion(t testing.TB, moduleName string, level int) (string, error)
- func LogAndTerminateContainers(ctx context.Context, tb testing.TB, ...)
- func RemoveFileWithErrorCheck(t testing.TB, fileName string)
- func StartContainer(ctx context.Context, tb testing.TB, ...) testcontainers.Container
- func StartMockManagementPlaneGrpcContainer(ctx context.Context, tb testing.TB, ...) testcontainers.Container
- func ToPtr[T any](value T) *T
- func WriteCertFiles(t *testing.T, location string, cert Cert) string
- type Cert
- type Parameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCacheFiles ¶
func CreateDirWithErrorCheck ¶
func GenerateSelfSignedCert ¶
func StartContainer ¶
func StartContainer( ctx context.Context, tb testing.TB, containerNetwork *testcontainers.DockerNetwork, parameters *Parameters, ) testcontainers.Container
Types ¶
type Parameters ¶
Click to show internal directories.
Click to hide internal directories.