mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(kube/apps): convert placement table to react [EE-4662] (#8938)
This commit is contained in:
parent
bf79ef7d89
commit
37ece734f0
15 changed files with 379 additions and 309 deletions
22
app/kubernetes/pod/models/affinities.ts
Normal file
22
app/kubernetes/pod/models/affinities.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
export enum KubernetesPodNodeAffinityNodeSelectorRequirementOperators {
|
||||
IN = 'In',
|
||||
NOT_IN = 'NotIn',
|
||||
EXISTS = 'Exists',
|
||||
DOES_NOT_EXIST = 'DoesNotExist',
|
||||
GREATER_THAN = 'Gt',
|
||||
LOWER_THAN = 'Lt',
|
||||
}
|
||||
|
||||
/**
|
||||
* KubernetesPodAffinity Model
|
||||
*/
|
||||
// this model will contain non transformed data (raw payload data)
|
||||
// either during creation flow (model > api)
|
||||
// than during reading flow (api > model)
|
||||
export function KubernetesPodAffinity() {
|
||||
return {
|
||||
nodeAffinity: {}, // KubernetesPodNodeAffinityPayload
|
||||
// podAffinity: {},
|
||||
// podAntiAffinity: {},
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue