mirror of https://github.com/portainer/portainer
26 lines
494 B
JavaScript
26 lines
494 B
JavaScript
/**
|
|
* KubernetesDaemonSet Model
|
|
*/
|
|
const _KubernetesDaemonSet = Object.freeze({
|
|
Namespace: '',
|
|
Name: '',
|
|
StackName: '',
|
|
ImageModel: null,
|
|
Env: [],
|
|
CpuLimit: 0,
|
|
MemoryLimit: 0,
|
|
VoluemMounts: [],
|
|
Volumes: [],
|
|
Secret: undefined,
|
|
ApplicationName: '',
|
|
ApplicationOwner: '',
|
|
Note: '',
|
|
Affinity: undefined, // KubernetesPodAffinity
|
|
});
|
|
|
|
export class KubernetesDaemonSet {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesDaemonSet)));
|
|
}
|
|
}
|