Showing 900 of 900 total issues

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

func MapStapelConfigToImagesSets(ctx context.Context, metaConfig *config.Meta, stapelImageConfig config.StapelImageInterface, targetPlatform string, opts CommonImageOptions) (ImagesSets, error) {
Severity: Minor
Found in pkg/build/image/stapel.go - About 35 mins to fix

    Method GitStage.PrepareImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (s *GitStage) PrepareImage(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) error {
    Severity: Minor
    Found in pkg/build/stage/git.go - About 35 mins to fix

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

      func newFullDockerfileStage(dockerRunArgs *DockerRunArgs, dockerStages *DockerStages, contextChecksum *ContextChecksum, baseStageOptions *BaseStageOptions, dependencies []*config.Dependency) *FullDockerfileStage {
      Severity: Minor
      Found in pkg/build/stage/full_dockerfile.go - About 35 mins to fix

        Method FullDockerfileStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        func (s *FullDockerfileStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
        Severity: Minor
        Found in pkg/build/stage/full_dockerfile.go - About 35 mins to fix

          Method SetupStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          func (s *SetupStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
          Severity: Minor
          Found in pkg/build/stage/setup.go - About 35 mins to fix

            Method GitPatchStage.PrepareImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            func (s *GitPatchStage) PrepareImage(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) error {
            Severity: Minor
            Found in pkg/build/stage/git_patch.go - About 35 mins to fix

              Method Ansible.stage has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              func (b *Ansible) stage(ctx context.Context, cr container_backend.ContainerBackend, stageBuilder stage_builder.StageBuilderInterface, useLegacyStapelBuilder bool, userStageName string) error {
              Severity: Minor
              Found in pkg/build/builder/ansible.go - About 35 mins to fix

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

                func GenerateFullDockerfileStage(dockerRunArgs *DockerRunArgs, dockerStages *DockerStages, contextChecksum *ContextChecksum, baseStageOptions *BaseStageOptions, dependencies []*config.Dependency) *FullDockerfileStage {
                Severity: Minor
                Found in pkg/build/stage/full_dockerfile.go - About 35 mins to fix

                  Method BeforeInstallStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  func (s *BeforeInstallStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                  Severity: Minor
                  Found in pkg/build/stage/before_install.go - About 35 mins to fix

                    Method DependenciesStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    func (s *DependenciesStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                    Severity: Minor
                    Found in pkg/build/stage/dependencies.go - About 35 mins to fix

                      Method From.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      func (s *From) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                      Severity: Minor
                      Found in pkg/build/stage/instruction/from.go - About 35 mins to fix

                        Method GitCacheStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        func (s *GitCacheStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                        Severity: Minor
                        Found in pkg/build/stage/git_cache.go - About 35 mins to fix

                          Method GitLatestPatchStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          func (s *GitLatestPatchStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                          Severity: Minor
                          Found in pkg/build/stage/git_latest_patch.go - About 35 mins to fix

                            Method BeforeSetupStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            func (s *BeforeSetupStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                            Severity: Minor
                            Found in pkg/build/stage/before_setup.go - About 35 mins to fix

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

                              func mapStapelConfigToImage(ctx context.Context, metaConfig *config.Meta, stapelImageConfig config.StapelImageInterface, targetPlatform string, opts CommonImageOptions) (*Image, error) {
                              Severity: Minor
                              Found in pkg/build/image/stapel.go - About 35 mins to fix

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

                                func NewDockerfileStage(index int, baseName, stageName, werfImageName string, instructions []DockerfileStageInstructionInterface, platform string, expanderFactory ExpanderFactory) *DockerfileStage {
                                Severity: Minor
                                Found in pkg/dockerfile/dockerfile_stage.go - About 35 mins to fix

                                  Method GitArchiveStage.PrepareImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  func (s *GitArchiveStage) PrepareImage(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) error {
                                  Severity: Minor
                                  Found in pkg/build/stage/git_archive.go - About 35 mins to fix

                                    Method FullDockerfileStage.PrepareImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    func (s *FullDockerfileStage) PrepareImage(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) error {
                                    Severity: Minor
                                    Found in pkg/build/stage/full_dockerfile.go - About 35 mins to fix

                                      Method InstallStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      func (s *InstallStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                                      Severity: Minor
                                      Found in pkg/build/stage/install.go - About 35 mins to fix

                                        Method GitArchiveStage.GetDependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        func (s *GitArchiveStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
                                        Severity: Minor
                                        Found in pkg/build/stage/git_archive.go - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language