mirror of https://github.com/portainer/portainer
16 lines
328 B
JavaScript
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)));
|
|
}
|
|
}
|