hunk.code_window:     document.getElementById('content-wrapper').style.height = wrapperCSS.height;
       document.getElementById('content-wrapper').style.overflowY = wrapperCSS.overflowY;
       document.getElementById('sidebar-wrapper').style.height = wrapperCSS.height;
     };
   });
hunk.labels: keep keep keep add keep
hunk.after_edit:   this.terminalresize = function () {
       const contentWrapperHeight = $window.innerHeight;
       const newContentWrapperHeight = contentWrapperHeight - terminalHeight;
       document.getElementById('content-wrapper').style.height = newContentWrapperHeight + 'px';
       document.getElementById('content-wrapper').style.overflowY = 'auto';
       document.getElementById('sidebar-wrapper').style.height = newContentWrapperHeight + 'px';
     };
  
hunk.file_path: app/portainer/services/terminal-window.js
hunk.type: add
file: /**
   * KubernetesNode Create Payload Model
   * Note: The current payload is here just to create patch payload.
   */
  const _KubernetesNodeCreatePayload = Object.freeze({
    metadata: {
      name: '',
      labels: {},
    },
    spec: {
      taints: undefined,
    },
  });
  
  export class KubernetesNodeCreatePayload {
    constructor() {
      Object.assign(this, JSON.parse(JSON.stringify(_KubernetesNodeCreatePayload)));
    }
  }
  
  const _KubernetesNodeTaintPayload = Object.freeze({
    key: '',
    value: '',
    effect: '',
  });
  
  export class KubernetesNodeTaintPayload {
    constructor() {
      Object.assign(this, JSON.parse(JSON.stringify(_KubernetesNodeTaintPayload)));
    }
  }
  