AlexsJones/gravitywell

View on GitHub

Showing 92 of 92 total issues

Function execV1RbacRoleBindingResouce has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func execV1RbacRoleBindingResouce(k kubernetes.Interface, objdep *v1rbac.RoleBinding, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Severity: Minor
Found in platform/v1rbac-rolebinding.go - About 35 mins to fix

    Function execV1PodResource has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func execV1PodResource(k kubernetes.Interface, objdep *v1.Pod, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
    Severity: Minor
    Found in platform/v1-pod.go - About 35 mins to fix

      Function execV1ServiceAccountResource has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func execV1ServiceAccountResource(k kubernetes.Interface, objdep *v1.ServiceAccount, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
      Severity: Minor
      Found in platform/v1-serviceaccount.go - About 35 mins to fix

        Function Fetch has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        func Fetch(v IVCS, localpath string, remote string, reference string, keypath string) (string, error) {
        Severity: Minor
        Found in vcs/ivcs.go - About 35 mins to fix

          Function execV1PersistentVolumeResource has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          func execV1PersistentVolumeResource(k kubernetes.Interface, objdep *v1.PersistentVolume, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
          Severity: Minor
          Found in platform/v1-persistentvolume.go - About 35 mins to fix

            Function execV1Job has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            func execV1Job(k kubernetes.Interface, objdep *batchv1.Job, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
            Severity: Minor
            Found in platform/v1-job.go - About 35 mins to fix

              Function execV1StorageResource has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              func execV1StorageResource(k kubernetes.Interface, objdep *storagev1.StorageClass, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
              Severity: Minor
              Found in platform/v1-storageclass.go - About 35 mins to fix

                Function execV1ServiceResouce has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                func execV1ServiceResouce(k kubernetes.Interface, objdep *v1.Service, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
                Severity: Minor
                Found in platform/v1-service.go - About 35 mins to fix

                  Function execV1HorizontalPodAutoscaler has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  func execV1HorizontalPodAutoscaler(k kubernetes.Interface, objdep *autoscalingv1.HorizontalPodAutoscaler, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
                  Severity: Minor
                  Found in platform/v1autoscaling-horizontalpodautoscaler.go - About 35 mins to fix

                    Function execV1RbacRoleResouce has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    func execV1RbacRoleResouce(k kubernetes.Interface, objdep *v1rbac.Role, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
                    Severity: Minor
                    Found in platform/v1rbac-role.go - About 35 mins to fix

                      Function execV1SecretResource has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      func execV1SecretResource(k kubernetes.Interface, objdep *v1.Secret, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
                      Severity: Minor
                      Found in platform/v1-secret.go - About 35 mins to fix

                        Method AWSProvider.Create has 5 return statements (exceeds 4 allowed).
                        Open

                        func (awsp *AWSProvider) Create(clusterp kinds.ProviderCluster) error {
                        
                            ec := eks.New(awsp.AWSClient)
                        
                            //SecurityGroupID
                        Severity: Major
                        Found in platform/provider/aws/create.go - About 35 mins to fix
                          Severity
                          Category
                          Status
                          Source
                          Language