renovate/lib/types/host-rules.ts

34 lines
792 B
TypeScript
Raw Normal View History

2024-04-17 05:00:00 +00:00
export interface HostRule {
authType?: string;
token?: string;
username?: string;
password?: string;
insecureRegistry?: boolean;
timeout?: number;
abortOnError?: boolean;
abortIgnoreStatusCodes?: number[];
enabled?: boolean;
2020-08-11 09:53:23 +00:00
enableHttp2?: boolean;
concurrentRequestLimit?: number;
maxRequestsPerSecond?: number;
headers?: Record<string, string>;
maxRetryAfter?: number;
2022-08-31 11:49:54 +00:00
keepAlive?: boolean;
artifactAuth?: string[] | null;
httpsCertificateAuthority?: string;
httpsPrivateKey?: string;
httpsCertificate?: string;
encrypted?: HostRule;
hostType?: string;
matchHost?: string;
resolvedHost?: string;
readOnly?: boolean;
}
2024-04-17 05:00:00 +00:00
export type CombinedHostRule = Omit<
HostRule,
'encrypted' | 'hostType' | 'matchHost' | 'resolvedHost' | 'readOnly'
2024-04-17 05:00:00 +00:00
>;