Class DirectStrategy
java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy.DirectStrategy
- All Implemented Interfaces:
ConnectionStrategy
Direct connection strategy — uses a pre-configured API URL.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy.ConnectionStrategy
close, shouldInjectRouterHeaders
-
Constructor Details
-
DirectStrategy
-
-
Method Details
-
connect
Description copied from interface:ConnectionStrategyDiscover and return the base URL.- Specified by:
connectin interfaceConnectionStrategy- Returns:
- the base URL (e.g.
http://127.0.0.1:12345)
-