]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
4ebe4ad3d9e32229a743580d030e2224f454f497
[ceph-ci.git] /
1 import { Component } from '@angular/core';
2
3 import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
4
5 @Component({
6   selector: 'cd-rgw-user-swift-key-modal',
7   templateUrl: './rgw-user-swift-key-modal.component.html',
8   styleUrls: ['./rgw-user-swift-key-modal.component.scss']
9 })
10 export class RgwUserSwiftKeyModalComponent {
11
12   user: string;
13   secret_key: string;
14
15   constructor(public bsModalRef: BsModalRef) {}
16
17   /**
18    * Set the values displayed in the dialog.
19    */
20   setValues(user: string, secret_key: string) {
21     this.user = user;
22     this.secret_key = secret_key;
23   }
24 }