@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
50 lines (42 loc) • 1 kB
text/typescript
import { ILoadBalancer } from '@spinnaker/core';
import { IGceBackendService } from './backendService';
export interface IGceLoadBalancer extends ILoadBalancer {
name: string;
account: string;
credentials: string;
detail: string;
loadBalancerName: string;
portRange?: string;
region: string;
stack: string;
}
export interface IGceHttpLoadBalancer extends IGceLoadBalancer {
certificate: string;
defaultService: IGceBackendService;
detail: string;
hostRules: IGceHostRule;
ipAddress: string;
listeners: IGceListener[];
loadBalancerType: 'HTTP';
provider: 'gce';
region: 'global';
stack: string;
urlMapName: string;
subnet?: string;
}
export interface IGceHostRule {
hostPatterns: string[];
pathMatcher: IGcePathMatcher;
}
export interface IGcePathMatcher {
pathRules: IGcePathRule[];
}
export interface IGcePathRule {
paths: string[];
}
export interface IGceListener {
certificate: string;
name: string;
port: string;
ipAddress: string;
}