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/node/formValues.js

42 lines
860 B

const _KubernetesNodeFormValues = Object.freeze({
Taints: [],
Labels: [],
Availability: '',
});
export class KubernetesNodeFormValues {
constructor() {
Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeFormValues)));
}
}
const _KubernetesNodeTaintFormValues = Object.freeze({
Key: '',
Values: '',
Effect: '',
NeedsDeletion: false,
IsNew: false,
IsChanged: false,
});
export class KubernetesNodeTaintFormValues {
constructor() {
Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeTaintFormValues)));
}
}
const _KubernetesNodeLabelFormValues = Object.freeze({
Key: '',
Values: '',
NeedsDeletion: false,
IsNew: false,
IsUsed: false,
IsChanged: false,
});
export class KubernetesNodeLabelFormValues {
constructor() {
Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeLabelFormValues)));
}
}