mirror of https://github.com/portainer/portainer
26 lines
487 B
JavaScript
26 lines
487 B
JavaScript
/**
|
|
* KubernetesDaemonSet Model
|
|
*/
|
|
const _KubernetesDaemonSet = Object.freeze({
|
|
Namespace: '',
|
|
Name: '',
|
|
StackName: '',
|
|
Image: '',
|
|
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)));
|
|
}
|
|
}
|