kubeflowJobRestServer.ts 661 Bytes
Newer Older
liuzhe-lz's avatar
liuzhe-lz committed
1
2
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
3
4
5

'use strict';

6
import * as component from '../../../common/component';
7
import { KubernetesJobRestServer } from '../kubernetesJobRestServer';
8
9
10
11
import { KubeflowTrainingService } from './kubeflowTrainingService';

/**
 * Kubeflow Training service Rest server, provides rest API to support kubeflow job metrics update
12
 *
13
14
 */
@component.Singleton
15
export class KubeflowJobRestServer extends KubernetesJobRestServer {
16
17
18
19
    /**
     * constructor to provide NNIRestServer's own rest property, e.g. port
     */
    constructor() {
20
        super(component.get(KubeflowTrainingService));
21
    }
22
}