You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/kubernetes/models/common/payloads.js

16 lines
328 B

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