mirror of https://github.com/rancher/dashboard.git
39 lines
724 B
JavaScript
39 lines
724 B
JavaScript
export const EXPAND = {
|
|
name: 'expand',
|
|
sort: false,
|
|
search: null,
|
|
width: 30
|
|
};
|
|
|
|
export const STATE = {
|
|
name: 'state',
|
|
label: 'State',
|
|
sort: ['sortState', 'sortName', 'id'],
|
|
search: 'displayState',
|
|
width: 120
|
|
};
|
|
|
|
export const NAME = {
|
|
name: 'name',
|
|
value: 'displayName',
|
|
label: 'Name',
|
|
sort: ['sortName', 'id'],
|
|
};
|
|
|
|
export const NAMESPACE = {
|
|
name: 'namespace',
|
|
value: 'metadata.namespace',
|
|
label: 'Namespace',
|
|
sort: ['metadata.namespace', 'id'],
|
|
};
|
|
|
|
export const CREATED = {
|
|
name: 'created',
|
|
value: 'metadata.creationTimestamp',
|
|
label: 'Created',
|
|
sort: ['createdTs', 'id'],
|
|
search: false,
|
|
width: 120,
|
|
formatter: 'LiveDate',
|
|
};
|