- },
- columns: {
- id: {
- title: 'ID',
- type: 'number',
- },
- xAppName: {
- title: 'xApp Name',
- type: 'string',
- },
- xAppType: {
- title: 'xApp Type',
- type: 'string',
- },
- podId: {
- title: 'Pod ID',
- type: 'number',
- },
- k8Status: {
- title: 'k8 Status',
- type: 'string',
- },
- age: {
- title: 'Age',
- type: 'string',
- },
- },
- };
-
- source: LocalDataSource = new LocalDataSource();
-
- constructor(private service: ControlService, private router: Router) {
- const data = this.service.getData();
- this.source.load(data);