mirror of https://github.com/portainer/portainer
24 lines
480 B
JavaScript
24 lines
480 B
JavaScript
|
/**
|
||
|
* KubernetesHorizontalPodAutoScaler Model
|
||
|
*/
|
||
|
const _KubernetesHorizontalPodAutoScaler = Object.freeze({
|
||
|
Id: '',
|
||
|
Namespace: '',
|
||
|
Name: '',
|
||
|
MinReplicas: 1,
|
||
|
MaxReplicas: 1,
|
||
|
TargetCPUUtilizationPercentage: undefined,
|
||
|
TargetEntity: {
|
||
|
ApiVersion: '',
|
||
|
Kind: '',
|
||
|
Name: '',
|
||
|
},
|
||
|
Yaml: '',
|
||
|
});
|
||
|
|
||
|
export class KubernetesHorizontalPodAutoScaler {
|
||
|
constructor() {
|
||
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesHorizontalPodAutoScaler)));
|
||
|
}
|
||
|
}
|