fix(sub2api): add JD01 account local proxy
This commit is contained in:
@@ -124,6 +124,7 @@ export interface Sub2ApiTargetConfig {
|
||||
hostDocker: Sub2ApiHostDockerConfig | null;
|
||||
publicExposure: Sub2ApiPublicExposureConfig | null;
|
||||
egressProxy: Sub2ApiEgressProxyConfig | null;
|
||||
accountLocalProxy: Sub2ApiAccountLocalProxyConfig | null;
|
||||
}
|
||||
|
||||
export interface Sub2ApiHostDockerConfig {
|
||||
@@ -206,6 +207,24 @@ export interface Sub2ApiEgressProxyConfig {
|
||||
healthProbeUrl: string;
|
||||
}
|
||||
|
||||
export interface Sub2ApiAccountLocalProxyConfig {
|
||||
enabled: boolean;
|
||||
containerName: string;
|
||||
secretName: string;
|
||||
secretKey: string;
|
||||
image: string;
|
||||
imagePullPolicy: "Always" | "IfNotPresent" | "Never";
|
||||
listenHost: "127.0.0.1";
|
||||
listenPort: number;
|
||||
sourceConfigRef: string;
|
||||
sourceFingerprint: string;
|
||||
sourceRef: string;
|
||||
sourceKey: string;
|
||||
sourceType: "master-shadowsocks";
|
||||
masterShadowsocks: Sub2ApiMasterShadowsocksConfig;
|
||||
healthProbeUrl: string;
|
||||
}
|
||||
|
||||
export interface Sub2ApiMasterShadowsocksConfig {
|
||||
serverHost: string;
|
||||
serverPort: number;
|
||||
@@ -275,6 +294,19 @@ export interface EgressProxySecretMaterial {
|
||||
valuesPrinted: false;
|
||||
}
|
||||
|
||||
export interface AccountLocalProxySecretMaterial {
|
||||
sourceRef: string;
|
||||
sourcePath: string;
|
||||
secretName: string;
|
||||
secretKey: string;
|
||||
fingerprint: string;
|
||||
sourceBytes: number;
|
||||
selectedOutbound: "shadowsocks";
|
||||
configJson: string;
|
||||
proxyUrl: string;
|
||||
valuesPrinted: false;
|
||||
}
|
||||
|
||||
export interface EgressProxySubscriptionCandidateSummary {
|
||||
sourceLine: number;
|
||||
kind: SubscriptionNode["kind"] | "shadowsocks";
|
||||
|
||||
Reference in New Issue
Block a user