Skip to content

Commit 295f920

Browse files
policy governance
1 parent d6e902b commit 295f920

32 files changed

+43
-43
lines changed

Wire.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ import (
158158
"github.com/devtron-labs/devtron/pkg/pipeline/types"
159159
"github.com/devtron-labs/devtron/pkg/plugin"
160160
repository6 "github.com/devtron-labs/devtron/pkg/plugin/repository"
161-
"github.com/devtron-labs/devtron/pkg/policyGoverance"
161+
"github.com/devtron-labs/devtron/pkg/policyGovernance"
162162
resourceGroup2 "github.com/devtron-labs/devtron/pkg/resourceGroup"
163163
"github.com/devtron-labs/devtron/pkg/resourceQualifiers"
164164
"github.com/devtron-labs/devtron/pkg/sql"
@@ -213,7 +213,7 @@ func InitializeApp() (*App, error) {
213213
workflow3.WorkflowWireSet,
214214
imageTagging.WireSet,
215215
devtronResource.DevtronResourceWireSet,
216-
policyGoverance.PolicyGoveranceWireSet,
216+
policyGovernance.PolicyGoveranceWireSet,
217217

218218
// -------wireset end ----------
219219
// -------

api/restHandler/ImageScanRestHandler.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import (
2020
"encoding/json"
2121
"fmt"
2222
"github.com/devtron-labs/devtron/pkg/cluster/environment"
23-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
24-
securityBean "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/bean"
25-
security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository"
23+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
24+
securityBean "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/bean"
25+
security2 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
2626
"net/http"
2727
"strconv"
2828

api/restHandler/PolicyRestHandler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"errors"
2222
"fmt"
2323
"github.com/devtron-labs/devtron/pkg/cluster/environment"
24-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
25-
securityBean "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository/bean"
24+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
25+
securityBean "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository/bean"
2626
"net/http"
2727
"strconv"
2828

api/restHandler/app/pipeline/configure/DeploymentPipelineRestHandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"fmt"
2424
devtronAppGitOpConfigBean "github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig/bean"
2525
chartRefBean "github.com/devtron-labs/devtron/pkg/deployment/manifest/deploymentTemplate/chartRef/bean"
26-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository"
26+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
2727
"io"
2828
"net/http"
2929
"strconv"

api/restHandler/app/pipeline/configure/PipelineConfigRestHandler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import (
3030
"github.com/devtron-labs/devtron/pkg/deployment/manifest/deployedAppMetrics"
3131
"github.com/devtron-labs/devtron/pkg/deployment/manifest/deploymentTemplate"
3232
"github.com/devtron-labs/devtron/pkg/deployment/manifest/deploymentTemplate/chartRef"
33-
security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
34-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/read"
33+
security2 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
34+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/read"
3535
"io"
3636
"net/http"
3737
"strconv"

cmd/external-app/wire.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ import (
7777
"github.com/devtron-labs/devtron/pkg/kubernetesResourceAuditLogs"
7878
repository2 "github.com/devtron-labs/devtron/pkg/kubernetesResourceAuditLogs/repository"
7979
"github.com/devtron-labs/devtron/pkg/pipeline"
80-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
81-
security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository"
80+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
81+
security2 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
8282
"github.com/devtron-labs/devtron/pkg/sql"
8383
util2 "github.com/devtron-labs/devtron/pkg/util"
8484
util3 "github.com/devtron-labs/devtron/util"

cmd/external-app/wire_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/deployment/trigger/devtronApps/TriggerService.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ import (
7575
"github.com/devtron-labs/devtron/pkg/pipeline/repository"
7676
"github.com/devtron-labs/devtron/pkg/pipeline/types"
7777
"github.com/devtron-labs/devtron/pkg/plugin"
78-
security2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
79-
read2 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/read"
80-
repository6 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository"
78+
security2 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
79+
read2 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/read"
80+
repository6 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
8181
"github.com/devtron-labs/devtron/pkg/sql"
8282
"github.com/devtron-labs/devtron/pkg/variables"
8383
"github.com/devtron-labs/devtron/pkg/workflow/cd"

pkg/module/ModuleService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
clientErrors "github.com/devtron-labs/devtron/pkg/errors"
2626
moduleRepo "github.com/devtron-labs/devtron/pkg/module/repo"
2727
moduleUtil "github.com/devtron-labs/devtron/pkg/module/util"
28-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning"
28+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
2929
"github.com/devtron-labs/devtron/pkg/server"
3030
serverBean "github.com/devtron-labs/devtron/pkg/server/bean"
3131
serverEnvConfig "github.com/devtron-labs/devtron/pkg/server/config"

pkg/policyGoverance/security/imageScanning/CvePolicyService.go renamed to pkg/policyGovernance/security/imageScanning/CvePolicyService.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424
"github.com/devtron-labs/devtron/internal/sql/repository/helper"
2525
"github.com/devtron-labs/devtron/pkg/cluster/environment"
2626
"github.com/devtron-labs/devtron/pkg/pipeline/types"
27-
"github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/read"
28-
repository3 "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository"
29-
securityBean "github.com/devtron-labs/devtron/pkg/policyGoverance/security/imageScanning/repository/bean"
27+
"github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/read"
28+
repository3 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
29+
securityBean "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository/bean"
3030
"github.com/devtron-labs/devtron/pkg/sql"
3131
"net/http"
3232
"strings"

0 commit comments

Comments
 (0)