portainer/app/kubernetes/models/common/payloads.js

16 lines
328 B
JavaScript

/**
* Generic metadata payload
*/
const _KubernetesCommonMetadataPayload = Object.freeze({
uid: '',
name: '',
namespace: '',
labels: {},
annotations: {},
});
export class KubernetesCommonMetadataPayload {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesCommonMetadataPayload)));
}
}