Skip to content

Commit

Permalink
refactor(titus): Create component wrapper with generic functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyhebebrand committed Feb 17, 2021
1 parent c008913 commit 06585c5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/scripts/modules/amazon/src/instance/index.ts
@@ -1,4 +1,5 @@
export * from './details/utils';
export * from './details/InstanceDns';
export * from './details/InstanceInformation';
export * from './details/InstanceStatus';
export * from './amazon.instance.write.service';
Expand Up @@ -7,12 +7,13 @@ import { CollapsibleSection } from '../../presentation';

import { Application } from '../../application';
import { IInstance } from '../../domain';
import { IMoniker } from '../../naming';

export interface IInstanceLinksProps {
address: string;
application: Application;
instance: IInstance;
moniker: string;
moniker: IMoniker;
environment: string;
}

Expand Down
18 changes: 18 additions & 0 deletions app/scripts/modules/titus/src/domain/ITitusInstance.ts
@@ -1,6 +1,24 @@
import { IInstance } from '@spinnaker/core';

interface ITitusInstancePlacement {
containerIp: string;
host: string;
region: string;
zone: string;
}

interface InsightAction {
label: string;
url: string;
}

export interface ITitusInstance extends IInstance {
containerIp: string;
instanceType?: string;
insightActions?: InsightAction[];
ipv6Address?: string;
jobId?: string;
jobName?: string;
placement: ITitusInstancePlacement;
privateIpAddress?: string;
}

0 comments on commit 06585c5

Please sign in to comment.