File tree Expand file tree Collapse file tree 23 files changed +23
-28
lines changed Expand file tree Collapse file tree 23 files changed +23
-28
lines changed Original file line number Diff line number Diff line change 66 - .github/workflows/docker.yaml
77 - Dockerfile
88 - go.*
9- - main.go
109 - api/**
11- - controllers/**
12- - pkg/**
10+ - internal/**
1311 - e2e_test/**
1412 - ' !**/*_test.go'
1513 - ' !**/*.md'
2220 - .github/workflows/docker.yaml
2321 - Dockerfile
2422 - go.*
25- - main.go
2623 - api/**
27- - controllers/**
28- - pkg/**
24+ - internal/**
2925 - e2e_test/**
3026 - ' !**/*_test.go'
3127 - ' !**/*.md'
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ RUN go mod download
1414# Copy the go source
1515COPY cmd/main.go cmd/main.go
1616COPY api/ api/
17- COPY internal/controller/ internal/controller/
18- COPY pkg/ pkg/
17+ COPY internal/ internal/
1918
2019# Build
2120# the GOARCH has not a default value to allow the binary be built according to the host where the command
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ import (
3737
3838 argocdcommenterv1 "github.com/int128/argocd-commenter/api/v1"
3939 "github.com/int128/argocd-commenter/internal/controller"
40- "github.com/int128/argocd-commenter/pkg /github"
41- "github.com/int128/argocd-commenter/pkg /notification"
40+ "github.com/int128/argocd-commenter/internal /github"
41+ "github.com/int128/argocd-commenter/internal /notification"
4242 //+kubebuilder:scaffold:imports
4343)
4444
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ import (
2121
2222 argocdv1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
2323 "github.com/argoproj/gitops-engine/pkg/health"
24+ "github.com/int128/argocd-commenter/internal/argocd"
2425 "github.com/int128/argocd-commenter/internal/controller/predicates"
25- "github.com/int128/argocd-commenter/pkg/argocd"
26- "github.com/int128/argocd-commenter/pkg/notification"
26+ "github.com/int128/argocd-commenter/internal/notification"
2727 corev1 "k8s.io/api/core/v1"
2828 "k8s.io/apimachinery/pkg/runtime"
2929 "k8s.io/client-go/tools/record"
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ import (
2222 argocdv1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
2323 "github.com/argoproj/gitops-engine/pkg/health"
2424 argocdcommenterv1 "github.com/int128/argocd-commenter/api/v1"
25+ "github.com/int128/argocd-commenter/internal/argocd"
2526 "github.com/int128/argocd-commenter/internal/controller/predicates"
26- "github.com/int128/argocd-commenter/pkg/argocd"
27- "github.com/int128/argocd-commenter/pkg/notification"
27+ "github.com/int128/argocd-commenter/internal/notification"
2828 corev1 "k8s.io/api/core/v1"
2929 apierrors "k8s.io/apimachinery/pkg/api/errors"
3030 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ import (
2222
2323 argocdv1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
2424 "github.com/argoproj/gitops-engine/pkg/health"
25+ "github.com/int128/argocd-commenter/internal/argocd"
2526 "github.com/int128/argocd-commenter/internal/controller/predicates"
26- "github.com/int128/argocd-commenter/pkg/argocd"
27- "github.com/int128/argocd-commenter/pkg/notification"
27+ "github.com/int128/argocd-commenter/internal/notification"
2828 corev1 "k8s.io/api/core/v1"
2929 "k8s.io/apimachinery/pkg/runtime"
3030 "k8s.io/client-go/tools/record"
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ import (
2121
2222 argocdv1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
2323 synccommon "github.com/argoproj/gitops-engine/pkg/sync/common"
24+ "github.com/int128/argocd-commenter/internal/argocd"
2425 "github.com/int128/argocd-commenter/internal/controller/predicates"
25- "github.com/int128/argocd-commenter/pkg/argocd"
26- "github.com/int128/argocd-commenter/pkg/notification"
26+ "github.com/int128/argocd-commenter/internal/notification"
2727 corev1 "k8s.io/api/core/v1"
2828 "k8s.io/apimachinery/pkg/runtime"
2929 "k8s.io/client-go/tools/record"
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ import (
2222
2323 argocdv1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
2424 synccommon "github.com/argoproj/gitops-engine/pkg/sync/common"
25+ "github.com/int128/argocd-commenter/internal/argocd"
2526 "github.com/int128/argocd-commenter/internal/controller/predicates"
26- "github.com/int128/argocd-commenter/pkg/argocd"
27- "github.com/int128/argocd-commenter/pkg/notification"
27+ "github.com/int128/argocd-commenter/internal/notification"
2828 corev1 "k8s.io/api/core/v1"
2929 "k8s.io/apimachinery/pkg/runtime"
3030 "k8s.io/client-go/tools/record"
You can’t perform that action at this time.
0 commit comments