- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StartTestServer (0.6 sec)
-
cmd/test-utils_test.go
return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend. // Example usage: // // s := StartTestServer(t,"Erasure") // defer s.Stop() type TestServer struct { Root string Disks EndpointServerPools AccessKey string SecretKey string Server *httptest.Server
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/server_test.go
if s.secure { cert, key, err := generateTLSCertKey("127.0.0.1") c.Assert(err, nil) s.testServer = StartTestTLSServer(c, s.serverType, cert, key) } else { s.testServer = StartTestServer(c, s.serverType) } s.client = s.testServer.Server.Client() s.endPoint = s.testServer.Server.URL s.accessKey = s.testServer.AccessKey s.secretKey = s.testServer.SecretKey }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)