- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StartTestServer (0.17 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
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K 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 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0)