- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 335 for transports (0.06 seconds)
-
internal/config/identity/openid/provider/keycloak.go
} // Option is a function type that accepts a pointer Target type Option func(*KeycloakProvider) // WithTransport provide custom transport func WithTransport(transport http.RoundTripper) Option { return func(p *KeycloakProvider) { p.client = http.Client{ Transport: transport, } } } // WithOpenIDConfig provide OpenID Endpoint configuration discovery document
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 14 18:12:07 GMT 2024 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if (isConnected()) { try (SmbTransportImpl transport = session.getTransport()) { if (transport.isDisconnected() || transport.getRemoteHostName() == null) { /* * Tree/session thinks it is connected but transport disconnected * under it, reset tree to reflect the truth. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(transport, times(4)).close(); } @Test @DisplayName("isSMB2 true and exception fallback to false") void isSMB2Cases() throws Exception { // Happy path returns true; transport exception path returns false when(transport.isSMB2()).thenReturn(true); assertTrue(handle.isSMB2()); reset(transport);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Check if transport creation failed if (newTransport == null) { throw new IOException("Failed to create new transport"); } // Reconnect channel.setState(ChannelState.CONNECTING); // Connection would be ensured through proper transport interface // Re-establish channel bindingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
verify(session).getSessionKey(); } // Happy path: transport is returned and verified @Test @DisplayName("getTransport returns mocked transport") void getTransport_happy() { when(session.getTransport()).thenReturn(transport); assertSame(transport, session.getTransport()); verify(session).getTransport(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
} @Test void testIsTrustedDomain_ConnectionFails() throws SmbAuthException { // Scenario: Transport connection fails when(mockCredentials.getUserDomain()).thenReturn("authdomain.com"); // When transport fails, it should return false assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } // Tests for getDc @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
SmbSessionImpl(CIFSContext tf, String targetHost, String targetDomain, SmbTransportImpl transport) { this.transportContext = tf; this.targetDomain = targetDomain; this.targetHost = targetHost; this.transport = transport.acquire(); this.trees = new CopyOnWriteArrayList<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
SmbTransportImpl transport = mock(SmbTransportImpl.class); when(tree.isConnected()).thenReturn(true); when(tree.getSession()).thenReturn(session); when(tree.acquire(false)).thenReturn(tree); when(session.getTransport()).thenReturn(transport); when(transport.isDisconnected()).thenReturn(false); when(transport.getRemoteHostName()).thenReturn("host");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.28.md
- Client-go now exposes two new metrics to monitor the client-go logic that generate http.Transports for the clients. - `rest_client_transport_cache_entries` is a gauge metric with the number of existing entries in the internal cache - `rest_client_transport_create_calls_total` is a counter that increments each time a new transport is created, storing the result of the operation needed to generate it: hit, miss
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Sep 05 03:47:18 GMT 2025 - 456.9K bytes - Click Count (1) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java
clusters.all(c -> { if (BuildParams.isInFipsJvm()) { c.setting("xpack.security.transport.ssl.key", "test-node.key"); c.keystore("xpack.security.transport.ssl.secure_key_passphrase", "test-node-key-password"); c.setting("xpack.security.transport.ssl.certificate", "test-node.crt"); c.setting("xpack.security.http.ssl.key", "test-node.key");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.1K bytes - Click Count (0)