portainer/app/kubernetes/horizontal-pod-auto-scaler/models.js

24 lines
462 B
JavaScript

/**
* KubernetesHorizontalPodAutoScaler Model
*/
const _KubernetesHorizontalPodAutoScaler = Object.freeze({
Id: '',
Namespace: '',
Name: '',
MinReplicas: 1,
MaxReplicas: 1,
TargetCPUUtilization: 0,
TargetEntity: {
ApiVersion: '',
Kind: '',
Name: '',
},
Yaml: '',
});
export class KubernetesHorizontalPodAutoScaler {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesHorizontalPodAutoScaler)));
}
}