renovate/lib/types/host-rules.ts
2022-10-25 11:03:19 +00:00

24 lines
548 B
TypeScript

export interface HostRuleSearchResult {
authType?: string;
token?: string;
username?: string;
password?: string;
insecureRegistry?: boolean;
timeout?: number;
abortOnError?: boolean;
abortIgnoreStatusCodes?: number[];
enabled?: boolean;
enableHttp2?: boolean;
concurrentRequestLimit?: number;
maxRequestsPerSecond?: number;
dnsCache?: boolean;
keepalive?: boolean;
}
export interface HostRule extends HostRuleSearchResult {
encrypted?: HostRule;
hostType?: string;
matchHost?: string;
resolvedHost?: string;
}