portainer/portainer

View on GitHub
app/kubernetes/models/secret/models.js

Summary

Maintainability
A
30 mins
Test Coverage
/**
 * KubernetesApplicationSecret Model
 */
const _KubernetesApplicationSecret = Object.freeze({
  Id: 0,
  Name: '',
  Namespace: '',
  Type: '',
  CreationDate: '',
  ConfigurationOwner: '',
  Yaml: '',
  Data: [],
  SecretType: '',
  Annotations: [],
  Labels: {},
});

export class KubernetesApplicationSecret {
  constructor() {
    Object.assign(this, JSON.parse(JSON.stringify(_KubernetesApplicationSecret)));
  }
}