mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
23 lines
472 B
JavaScript
23 lines
472 B
JavaScript
/**
|
|
* KubernetesHorizontalPodAutoScaler Model
|
|
*/
|
|
const _KubernetesHorizontalPodAutoScaler = Object.freeze({
|
|
Id: '',
|
|
Namespace: '',
|
|
Name: '',
|
|
MinReplicas: 1,
|
|
MaxReplicas: 1,
|
|
targetCpuUtilizationPercentage: 0,
|
|
TargetEntity: {
|
|
ApiVersion: '',
|
|
Kind: '',
|
|
Name: '',
|
|
},
|
|
Yaml: '',
|
|
});
|
|
|
|
export class KubernetesHorizontalPodAutoScaler {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesHorizontalPodAutoScaler)));
|
|
}
|
|
}
|