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/models/port/models.js

35 lines
692 B

/**
* 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)));
}
}