Skip to content

Commit

Permalink
chore: rename package to github.com/werf/kubedog-for-werf-helm
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <[email protected]>
  • Loading branch information
ilya-lesikov committed Dec 17, 2024
1 parent 0fc2d1a commit 1f29d5f
Show file tree
Hide file tree
Showing 65 changed files with 183 additions and 183 deletions.
12 changes: 6 additions & 6 deletions cmd/kubedog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"k8s.io/klog"
klog_v2 "k8s.io/klog/v2"

"github.com/werf/kubedog"
"github.com/werf/kubedog/pkg/kube"
"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/trackers/follow"
"github.com/werf/kubedog/pkg/trackers/rollout"
"github.com/werf/kubedog/pkg/trackers/rollout/multitrack"
"github.com/werf/kubedog-for-werf-helm"
"github.com/werf/kubedog-for-werf-helm/pkg/kube"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/trackers/follow"
"github.com/werf/kubedog-for-werf-helm/pkg/trackers/rollout"
"github.com/werf/kubedog-for-werf-helm/pkg/trackers/rollout/multitrack"
"github.com/werf/logboek"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/werf/kubedog
module github.com/werf/kubedog-for-werf-helm

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion pkg/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"k8s.io/client-go/restmapper"
"k8s.io/client-go/tools/clientcmd"

"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/canary/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
)

type Feed interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/canary/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package canary
import (
"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type CanaryStatus struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/canary/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/kube"
"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/kube"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type FailedReport struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/controller/feed.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package controller

import "github.com/werf/kubedog/pkg/tracker/replicaset"
import "github.com/werf/kubedog-for-werf-helm/pkg/tracker/replicaset"

type ControllerFeed interface {
OnAdded(func(ready bool) error)
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/daemonset/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/controller"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/controller"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type Feed interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/daemonset/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

appsv1 "k8s.io/api/apps/v1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
)

type DaemonSetStatus struct {
Expand Down
12 changes: 6 additions & 6 deletions pkg/tracker/daemonset/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/event"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/tracker/replicaset"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/event"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/replicaset"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type PodAddedReport struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/deployment/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/controller"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/controller"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type Feed interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/deployment/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

appsv1 "k8s.io/api/apps/v1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type DeploymentStatus struct {
Expand Down
12 changes: 6 additions & 6 deletions pkg/tracker/deployment/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/event"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/tracker/replicaset"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/event"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/replicaset"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type ReplicaSetAddedReport struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/event/informer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type ProbeTriggeredRestart struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/generic/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
corev1 "k8s.io/api/core/v1"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type Feed struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/generic/ready_condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/samber/lo"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

func NewResourceStatusIndicator(object *unstructured.Unstructured) (indicator *indicators.StringEqualConditionIndicator, humanJSONPath string, err error) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/generic/resource_events_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/cache"

"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/resid"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/resid"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type ResourceEventsWatcher struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/generic/resource_state_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/cache"

"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/resid"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/resid"
)

type ResourceStateWatcher struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/generic/resource_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
)

type ResourceStatus struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/generic/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"k8s.io/client-go/dynamic"
"k8s.io/client-go/kubernetes"

"github.com/werf/kubedog/pkg/tracker/resid"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/resid"
)

const ResourceStatusStabilizingDuration time.Duration = 2 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/indicators/indicators.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package indicators
import (
"fmt"

"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type FormatTableElemOptions struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/job/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
)

type Feed interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/job/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
batchv1 "k8s.io/api/batch/v1"
corev1 "k8s.io/api/core/v1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type JobStatus struct {
Expand Down
10 changes: 5 additions & 5 deletions pkg/tracker/job/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/event"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/event"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type FailedReport struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/pod/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type Feed interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/pod/informer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

// PodsInformer monitor pod add events to use with controllers (Deployment, StatefulSet, DaemonSet)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/pod/probes.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

corev1 "k8s.io/api/core/v1"

"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type ReadinessProbe struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/pod/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

corev1 "k8s.io/api/core/v1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type PodStatus struct {
Expand Down
8 changes: 4 additions & 4 deletions pkg/tracker/pod/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/display"
"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/event"
"github.com/werf/kubedog-for-werf-helm/pkg/display"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/event"
)

type ContainerError struct {
Expand Down
8 changes: 4 additions & 4 deletions pkg/tracker/replicaset/informer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"k8s.io/client-go/tools/cache"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog/pkg/utils"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/utils"
)

type ReplicaSet struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/tracker/statefulset/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"k8s.io/client-go/kubernetes"
watchtools "k8s.io/client-go/tools/watch"

"github.com/werf/kubedog/pkg/tracker"
"github.com/werf/kubedog/pkg/tracker/controller"
"github.com/werf/kubedog/pkg/tracker/debug"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/controller"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/debug"
)

type Feed interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/tracker/statefulset/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

appsv1 "k8s.io/api/apps/v1"

"github.com/werf/kubedog/pkg/tracker/indicators"
"github.com/werf/kubedog/pkg/tracker/pod"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/indicators"
"github.com/werf/kubedog-for-werf-helm/pkg/tracker/pod"
)

type StatefulSetStatus struct {
Expand Down
Loading

0 comments on commit 1f29d5f

Please sign in to comment.