mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Fix lint errors
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
1977725957
commit
e150c7f550
@ -302,7 +302,7 @@ export function init($plugin, store) {
|
|||||||
resource: MONITORING.ALERTMANAGERCONFIG,
|
resource: MONITORING.ALERTMANAGERCONFIG,
|
||||||
resourceDetail: HCI.ALERTMANAGERCONFIG,
|
resourceDetail: HCI.ALERTMANAGERCONFIG,
|
||||||
resourceEdit: HCI.ALERTMANAGERCONFIG,
|
resourceEdit: HCI.ALERTMANAGERCONFIG,
|
||||||
canYaml: false
|
canYaml: false
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -475,7 +475,9 @@ export function init($plugin, store) {
|
|||||||
exact: false
|
exact: false
|
||||||
});
|
});
|
||||||
|
|
||||||
configureType(HCI.SCHEDULE_VM_BACKUP, { showListMasthead: false, showConfigView: false, canYaml: false });
|
configureType(HCI.SCHEDULE_VM_BACKUP, {
|
||||||
|
showListMasthead: false, showConfigView: false, canYaml: false
|
||||||
|
});
|
||||||
virtualType({
|
virtualType({
|
||||||
labelKey: 'harvester.schedule.label',
|
labelKey: 'harvester.schedule.label',
|
||||||
name: HCI.SCHEDULE_VM_BACKUP,
|
name: HCI.SCHEDULE_VM_BACKUP,
|
||||||
@ -489,7 +491,9 @@ export function init($plugin, store) {
|
|||||||
ifHaveType: HCI.SCHEDULE_VM_BACKUP,
|
ifHaveType: HCI.SCHEDULE_VM_BACKUP,
|
||||||
});
|
});
|
||||||
|
|
||||||
configureType(HCI.BACKUP, { showListMasthead: false, showConfigView: false, canYaml: false });
|
configureType(HCI.BACKUP, {
|
||||||
|
showListMasthead: false, showConfigView: false, canYaml: false
|
||||||
|
});
|
||||||
virtualType({
|
virtualType({
|
||||||
labelKey: 'harvester.backup.label',
|
labelKey: 'harvester.backup.label',
|
||||||
name: HCI.BACKUP,
|
name: HCI.BACKUP,
|
||||||
@ -549,7 +553,7 @@ export function init($plugin, store) {
|
|||||||
resource: VOLUME_SNAPSHOT,
|
resource: VOLUME_SNAPSHOT,
|
||||||
resourceDetail: HCI.SNAPSHOT,
|
resourceDetail: HCI.SNAPSHOT,
|
||||||
resourceEdit: HCI.SNAPSHOT,
|
resourceEdit: HCI.SNAPSHOT,
|
||||||
canYaml: false
|
canYaml: false
|
||||||
});
|
});
|
||||||
headers(HCI.SNAPSHOT, [STATE, NAME_COL, NAMESPACE_COL, SNAPSHOT_TARGET_VOLUME, AGE]);
|
headers(HCI.SNAPSHOT, [STATE, NAME_COL, NAMESPACE_COL, SNAPSHOT_TARGET_VOLUME, AGE]);
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -573,7 +577,7 @@ export function init($plugin, store) {
|
|||||||
resource: HCI.BACKUP,
|
resource: HCI.BACKUP,
|
||||||
resourceDetail: HCI.VM_SNAPSHOT,
|
resourceDetail: HCI.VM_SNAPSHOT,
|
||||||
resourceEdit: HCI.VM_SNAPSHOT,
|
resourceEdit: HCI.VM_SNAPSHOT,
|
||||||
canYaml: false
|
canYaml: false
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -609,7 +613,7 @@ export function init($plugin, store) {
|
|||||||
resource: CONFIG_MAP,
|
resource: CONFIG_MAP,
|
||||||
resourceDetail: HCI.CLOUD_TEMPLATE,
|
resourceDetail: HCI.CLOUD_TEMPLATE,
|
||||||
resourceEdit: HCI.CLOUD_TEMPLATE,
|
resourceEdit: HCI.CLOUD_TEMPLATE,
|
||||||
canYaml: false
|
canYaml: false
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -646,7 +650,7 @@ export function init($plugin, store) {
|
|||||||
resource: SECRET,
|
resource: SECRET,
|
||||||
resourceDetail: HCI.SECRET,
|
resourceDetail: HCI.SECRET,
|
||||||
resourceEdit: HCI.SECRET,
|
resourceEdit: HCI.SECRET,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
notFilterNamespace: ['cattle-monitoring-system', 'cattle-logging-system']
|
notFilterNamespace: ['cattle-monitoring-system', 'cattle-logging-system']
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -687,7 +691,7 @@ export function init($plugin, store) {
|
|||||||
resourceDetail: HCI.STORAGE,
|
resourceDetail: HCI.STORAGE,
|
||||||
resourceEdit: HCI.STORAGE,
|
resourceEdit: HCI.STORAGE,
|
||||||
isCreatable: true,
|
isCreatable: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
});
|
});
|
||||||
virtualType({
|
virtualType({
|
||||||
labelKey: 'harvester.storage.title',
|
labelKey: 'harvester.storage.title',
|
||||||
@ -719,7 +723,7 @@ export function init($plugin, store) {
|
|||||||
configureType(HCI.PCI_DEVICE, {
|
configureType(HCI.PCI_DEVICE, {
|
||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
hiddenNamespaceGroupButton: true,
|
hiddenNamespaceGroupButton: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
listGroups: [
|
listGroups: [
|
||||||
{
|
{
|
||||||
icon: 'icon-list-grouped',
|
icon: 'icon-list-grouped',
|
||||||
@ -755,7 +759,7 @@ export function init($plugin, store) {
|
|||||||
configureType(HCI.SR_IOV, {
|
configureType(HCI.SR_IOV, {
|
||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
hiddenNamespaceGroupButton: true,
|
hiddenNamespaceGroupButton: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -775,7 +779,7 @@ export function init($plugin, store) {
|
|||||||
configureType(HCI.SR_IOVGPU_DEVICE, {
|
configureType(HCI.SR_IOVGPU_DEVICE, {
|
||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
hiddenNamespaceGroupButton: true,
|
hiddenNamespaceGroupButton: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
@ -794,7 +798,7 @@ export function init($plugin, store) {
|
|||||||
configureType(HCI.VGPU_DEVICE, {
|
configureType(HCI.VGPU_DEVICE, {
|
||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
hiddenNamespaceGroupButton: true,
|
hiddenNamespaceGroupButton: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
listGroups: [
|
listGroups: [
|
||||||
{
|
{
|
||||||
icon: 'icon-cluster',
|
icon: 'icon-cluster',
|
||||||
@ -823,7 +827,7 @@ export function init($plugin, store) {
|
|||||||
configureType(HCI.USB_DEVICE, {
|
configureType(HCI.USB_DEVICE, {
|
||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
hiddenNamespaceGroupButton: true,
|
hiddenNamespaceGroupButton: true,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
listGroups: [
|
listGroups: [
|
||||||
{
|
{
|
||||||
icon: 'icon-list-grouped',
|
icon: 'icon-list-grouped',
|
||||||
@ -846,7 +850,7 @@ export function init($plugin, store) {
|
|||||||
isCreatable: false,
|
isCreatable: false,
|
||||||
isRemovable: false,
|
isRemovable: false,
|
||||||
showState: false,
|
showState: false,
|
||||||
canYaml: false,
|
canYaml: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
virtualType({
|
virtualType({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user