+
+ remote
+ ${path}
+
+
+
+ ${remoteStatusBadge(view.status)}
+ ${target}
+ ${action}
+
+
`;
+}
+
+export function renderRemote(el: HTMLElement, view: RemoteConfig | null): void {
+ el.innerHTML = remoteHtml(view);
+}
diff --git a/console/src/source.ts b/console/src/source.ts
index f7c1f0b..0c5ee4a 100644
--- a/console/src/source.ts
+++ b/console/src/source.ts
@@ -1,7 +1,13 @@
-import type { Deployment, FleetConfig, RuntimeContext } from "./types";
+import type {
+ Deployment,
+ FleetConfig,
+ RemoteConfig,
+ RuntimeContext,
+} from "./types";
import {
FIXTURE_DEPLOYMENTS,
FIXTURE_FLEET_CONFIG,
+ FIXTURE_REMOTE_CONFIG,
FIXTURE_RUNTIME_CONTEXT,
} from "./fixtures";
@@ -24,6 +30,12 @@ export interface Source {
namespace: string,
cluster?: string,
): Promise