]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / constants / app.constants.ts
index 5b668ad9000deb1f893fe16def1deac443615547..cb67cada578b505117d9829b422a5622f0a8c60b 100644 (file)
@@ -35,7 +35,10 @@ export enum URLVerbs {
 
   /* Prometheus wording */
   RECREATE = 'recreate',
-  EXPIRE = 'expire'
+  EXPIRE = 'expire',
+
+  /* Daemons */
+  RESTART = 'Restart'
 }
 
 export enum ActionLabels {
@@ -68,7 +71,13 @@ export enum ActionLabels {
 
   /* Prometheus wording */
   RECREATE = 'Recreate',
-  EXPIRE = 'Expire'
+  EXPIRE = 'Expire',
+
+  /* Daemons */
+  START = 'Start',
+  STOP = 'Stop',
+  REDEPLOY = 'Redeploy',
+  RESTART = 'Restart'
 }
 
 @Injectable({
@@ -118,6 +127,12 @@ export class ActionLabelsI18n {
   FLAGS: string;
   ENTER_MAINTENANCE: string;
   EXIT_MAINTENANCE: string;
+  START_DRAIN: string;
+  STOP_DRAIN: string;
+  START: string;
+  STOP: string;
+  REDEPLOY: string;
+  RESTART: string;
 
   constructor() {
     /* Create a new item */
@@ -171,10 +186,17 @@ export class ActionLabelsI18n {
     this.FLAGS = $localize`Flags`;
     this.ENTER_MAINTENANCE = $localize`Enter Maintenance`;
     this.EXIT_MAINTENANCE = $localize`Exit Maintenance`;
+    this.START_DRAIN = $localize`Start Drain`;
+    this.STOP_DRAIN = $localize`Stop Drain`;
 
     /* Prometheus wording */
     this.RECREATE = $localize`Recreate`;
     this.EXPIRE = $localize`Expire`;
+
+    this.START = $localize`Start`;
+    this.STOP = $localize`Stop`;
+    this.REDEPLOY = $localize`Redeploy`;
+    this.RESTART = $localize`Restart`;
   }
 }
 
@@ -215,6 +237,11 @@ export class SucceededActionLabelsI18n {
   CHANGE: string;
   RECREATED: string;
   EXPIRED: string;
+  MOVE: string;
+  START: string;
+  STOP: string;
+  REDEPLOY: string;
+  RESTART: string;
 
   constructor() {
     /* Create a new item */
@@ -260,5 +287,10 @@ export class SucceededActionLabelsI18n {
     /* Prometheus wording */
     this.RECREATED = $localize`Recreated`;
     this.EXPIRED = $localize`Expired`;
+
+    this.START = $localize`Start`;
+    this.STOP = $localize`Stop`;
+    this.REDEPLOY = $localize`Redeploy`;
+    this.RESTART = $localize`Restart`;
   }
 }