mirror of https://github.com/portainer/portainer
34 lines
645 B
JavaScript
34 lines
645 B
JavaScript
|
/**
|
||
|
* PortMappingPort Model
|
||
|
*/
|
||
|
const _KubernetesPortMappingPort = Object.freeze({
|
||
|
Port: 0,
|
||
|
TargetPort: 0,
|
||
|
Protocol: '',
|
||
|
});
|
||
|
|
||
|
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)));
|
||
|
}
|
||
|
}
|