hunk.code_window: 	"errors"
   	"io"
   	"k8s.io/api/core/v1"
   	"k8s.io/client-go/kubernetes/scheme"
   	"k8s.io/client-go/rest"
   	"k8s.io/client-go/tools/remotecommand"
   	utilexec "k8s.io/client-go/util/exec"
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: 	v1 "k8s.io/api/core/v1"
  
hunk.file_path: api/kubernetes/cli/exec.go
hunk.type: replace
file: import angular from 'angular';
  
  const API_ENDPOINT_SSL = 'api/ssl';
  
  angular.module('portainer.app').factory('SSL', SSLFactory);
  
  /* @ngInject */
  function SSLFactory($resource) {
    return $resource(
      API_ENDPOINT_SSL,
      {},
      {
        get: { method: 'GET' },
        upload: { method: 'PUT' },
      }
    );
  }
  