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

29 lines
562 B

/**
* KubernetesStatefulSet Model
*/
const _KubernetesStatefulSet = Object.freeze({
Namespace: '',
Name: '',
StackName: '',
ReplicaCount: 0,
ImageModel: null,
Env: [],
CpuLimit: '',
MemoryLimit: '',
VolumeMounts: [],
Volumes: [],
Secret: undefined,
VolumeClaims: [],
ServiceName: '',
ApplicationName: '',
ApplicationOwner: '',
Note: '',
Affinity: undefined, // KubernetesPodAffinity
});
export class KubernetesStatefulSet {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesStatefulSet)));
}
}