1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 14:29:40 +02:00
portainer/app/kubernetes/pod/models/affinities.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
571 B
TypeScript
Raw Normal View History

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: {},
};
}