mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
* feat(kubernetes): add ingress details * fix(kubernetes): fix broken ingress generated links + ignore IP retrieval/display info on missing LB ingress ip * refactor(kubernetes): each ingress rule in apps port mappings has now its own row * feat(kubernetes): remove protocol column and concat it to container port * feat(kubernetes): edit display of ingress rules in application details * feat(kubernetes): minor UI update Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
34 lines
692 B
JavaScript
34 lines
692 B
JavaScript
/**
|
|
* PortMappingPort Model
|
|
*/
|
|
const _KubernetesPortMappingPort = Object.freeze({
|
|
Port: 0,
|
|
TargetPort: 0,
|
|
Protocol: '',
|
|
IngressRules: [], // KubernetesIngressRule[]
|
|
});
|
|
|
|
export class KubernetesPortMappingPort {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesPortMappingPort)));
|
|
}
|
|
}
|
|
|
|
/**
|
|
* PortMapping Model
|
|
*/
|
|
const _KubernetesPortMapping = Object.freeze({
|
|
Expanded: false,
|
|
Highlighted: false,
|
|
ResourcePool: '',
|
|
ServiceType: '',
|
|
ApplicationOwner: '',
|
|
LoadBalancerIPAddress: '',
|
|
Ports: [],
|
|
});
|
|
|
|
export class KubernetesPortMapping {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesPortMapping)));
|
|
}
|
|
}
|