mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(secrets): add secret management (#894)
This commit is contained in:
parent
128601bb58
commit
42d28db47a
21 changed files with 730 additions and 27 deletions
8
app/models/docker/secret.js
Normal file
8
app/models/docker/secret.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
function SecretViewModel(data) {
|
||||
this.Id = data.ID;
|
||||
this.CreatedAt = data.CreatedAt;
|
||||
this.UpdatedAt = data.UpdatedAt;
|
||||
this.Version = data.Version.Index;
|
||||
this.Name = data.Spec.Name;
|
||||
this.Labels = data.Spec.Labels;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue