mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
feat: add getOutboundGateway effect and simplify VersionGraph init/uninit
Add getOutboundGateway effect across core, container-runtime, and SDK to let services query their effective outbound gateway with callback support. Remove preInstall/uninstall hooks from VersionGraph as they are no longer needed.
This commit is contained in:
@@ -25,6 +25,7 @@ import { GetSslKeyParams } from '.././osBindings'
|
||||
import { GetServiceInterfaceParams } from '.././osBindings'
|
||||
import { SetDependenciesParams } from '.././osBindings'
|
||||
import { GetSystemSmtpParams } from '.././osBindings'
|
||||
import { GetOutboundGatewayParams } from '.././osBindings'
|
||||
import { GetServicePortForwardParams } from '.././osBindings'
|
||||
import { ExportServiceInterfaceParams } from '.././osBindings'
|
||||
import { ListServiceInterfacesParams } from '.././osBindings'
|
||||
@@ -83,6 +84,7 @@ describe('startosTypeValidation ', () => {
|
||||
getServiceManifest: {} as WithCallback<GetServiceManifestParams>,
|
||||
getSystemSmtp: {} as WithCallback<GetSystemSmtpParams>,
|
||||
getContainerIp: {} as WithCallback<GetContainerIpParams>,
|
||||
getOutboundGateway: {} as WithCallback<GetOutboundGatewayParams>,
|
||||
getOsIp: undefined,
|
||||
getServicePortForward: {} as GetServicePortForwardParams,
|
||||
clearServiceInterfaces: {} as ClearServiceInterfacesParams,
|
||||
|
||||
Reference in New Issue
Block a user