mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 14:31:47 +01:00
Bump v4
This commit is contained in:
10
.github/dependabot.yml
vendored
10
.github/dependabot.yml
vendored
@@ -4,6 +4,16 @@ updates:
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
time: "08:00"
|
||||
timezone: "Europe/Paris"
|
||||
labels:
|
||||
- ":game_die: dependencies"
|
||||
- ":robot: bot"
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
time: "08:00"
|
||||
timezone: "Europe/Paris"
|
||||
labels:
|
||||
- ":game_die: dependencies"
|
||||
|
||||
10
.github/labels.yml
vendored
10
.github/labels.yml
vendored
@@ -1,4 +1,4 @@
|
||||
## https://github.com/crazy-max/ghaction-github-labeler
|
||||
## more info https://github.com/crazy-max/ghaction-github-labeler
|
||||
- # bot
|
||||
name: ":robot: bot"
|
||||
color: "69cde9"
|
||||
@@ -59,10 +59,18 @@
|
||||
name: ":thinking: needs more info"
|
||||
color: "795548"
|
||||
description: ""
|
||||
- # pinned
|
||||
name: ":pushpin: pinned"
|
||||
color: "28008e"
|
||||
description: ""
|
||||
- # question
|
||||
name: ":question: question"
|
||||
color: "3f51b5"
|
||||
description: ""
|
||||
- # stale
|
||||
name: ":skull: stale"
|
||||
color: "237da0"
|
||||
description: ""
|
||||
- # upstream
|
||||
name: ":eyes: upstream"
|
||||
color: "fbca04"
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alecthomas/kong"
|
||||
"github.com/crazy-max/diun/v3/internal/app"
|
||||
"github.com/crazy-max/diun/v3/internal/config"
|
||||
"github.com/crazy-max/diun/v3/internal/logging"
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/app"
|
||||
"github.com/crazy-max/diun/v4/internal/config"
|
||||
"github.com/crazy-max/diun/v4/internal/logging"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/crazy-max/diun/v3
|
||||
module github.com/crazy-max/diun/v4
|
||||
|
||||
go 1.13
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/config"
|
||||
"github.com/crazy-max/diun/v3/internal/db"
|
||||
"github.com/crazy-max/diun/v3/internal/logging"
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif"
|
||||
dockerPrd "github.com/crazy-max/diun/v3/internal/provider/docker"
|
||||
filePrd "github.com/crazy-max/diun/v3/internal/provider/file"
|
||||
swarmPrd "github.com/crazy-max/diun/v3/internal/provider/swarm"
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/internal/config"
|
||||
"github.com/crazy-max/diun/v4/internal/db"
|
||||
"github.com/crazy-max/diun/v4/internal/logging"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif"
|
||||
dockerPrd "github.com/crazy-max/diun/v4/internal/provider/docker"
|
||||
filePrd "github.com/crazy-max/diun/v4/internal/provider/file"
|
||||
swarmPrd "github.com/crazy-max/diun/v4/internal/provider/swarm"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
"github.com/hako/durafmt"
|
||||
"github.com/panjf2000/ants/v2"
|
||||
"github.com/robfig/cron/v3"
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
"github.com/imdario/mergo"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/env"
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/file"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/env"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/file"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/config"
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/internal/config"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/rs/zerolog/log"
|
||||
bolt "go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
bolt "go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
)
|
||||
|
||||
// Job holds job configuration
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
)
|
||||
|
||||
// NotifEntry represents a notification entry
|
||||
|
||||
@@ -3,7 +3,7 @@ package model
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// NotifGotify holds gotify notification configuration details
|
||||
|
||||
@@ -3,7 +3,7 @@ package model
|
||||
import (
|
||||
"net/mail"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
"github.com/imdario/mergo"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package model
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// NotifRocketChat holds Rocket.Chat notification configuration details
|
||||
|
||||
@@ -3,7 +3,7 @@ package model
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// NotifWebhook holds webhook notification configuration details
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// PrdDocker holds docker provider configuration
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// PrdSwarm holds swarm provider configuration
|
||||
|
||||
@@ -3,7 +3,7 @@ package model
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// RegOpts holds registry options configuration
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// Watch holds data necessary for watch configuration
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/streadway/amqp"
|
||||
)
|
||||
|
||||
@@ -3,17 +3,17 @@ package notif
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/amqp"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/gotify"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/mail"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/rocketchat"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/script"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/slack"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/teams"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/telegram"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/webhook"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/amqp"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/gotify"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/mail"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/rocketchat"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/script"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/slack"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/teams"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/telegram"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/webhook"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
)
|
||||
|
||||
// Client represents an active gotify notification object
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
"github.com/go-gomail/gomail"
|
||||
"github.com/matcornic/hermes/v2"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package notifier
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
)
|
||||
|
||||
// Handler is a notifier interface
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
)
|
||||
|
||||
// Client represents an active rocketchat notification object
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/nlopes/slack"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
)
|
||||
|
||||
// Client represents an active webhook notification object
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"bytes"
|
||||
"text/template"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/notif/notifier"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/notif/notifier"
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
)
|
||||
|
||||
// ValidateContainerImage returns a standard image through Docker labels
|
||||
|
||||
@@ -3,9 +3,9 @@ package docker
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider"
|
||||
"github.com/crazy-max/diun/v3/pkg/docker"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider"
|
||||
"github.com/crazy-max/diun/v4/pkg/docker"
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package docker
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package file
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
@@ -3,8 +3,8 @@ package file_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider/file"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider/file"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package provider
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
)
|
||||
|
||||
// Handler is a provider interface
|
||||
|
||||
@@ -3,9 +3,9 @@ package swarm
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider"
|
||||
"github.com/crazy-max/diun/v3/pkg/docker"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider"
|
||||
"github.com/crazy-max/diun/v4/pkg/docker"
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package swarm
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/internal/model"
|
||||
"github.com/crazy-max/diun/v3/internal/provider"
|
||||
"github.com/crazy-max/diun/v4/internal/model"
|
||||
"github.com/crazy-max/diun/v4/internal/provider"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/pkg/registry"
|
||||
"github.com/crazy-max/diun/v4/pkg/registry"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package registry
|
||||
|
||||
import (
|
||||
"github.com/containers/image/v5/docker"
|
||||
"github.com/crazy-max/diun/v3/pkg/utl"
|
||||
"github.com/crazy-max/diun/v4/pkg/utl"
|
||||
)
|
||||
|
||||
// Tags holds information about image tags.
|
||||
|
||||
2
third_party/traefik/config/env/env.go
vendored
2
third_party/traefik/config/env/env.go
vendored
@@ -6,7 +6,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
)
|
||||
|
||||
// DefaultNamePrefix is the default prefix for environment variable names.
|
||||
|
||||
4
third_party/traefik/config/env/env_test.go
vendored
4
third_party/traefik/config/env/env_test.go
vendored
@@ -3,8 +3,8 @@ package env
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/generator"
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/generator"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
2
third_party/traefik/config/env/filter.go
vendored
2
third_party/traefik/config/env/filter.go
vendored
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
)
|
||||
|
||||
// FindPrefixedEnvVars finds prefixed environment variables.
|
||||
|
||||
2
third_party/traefik/config/file/file.go
vendored
2
third_party/traefik/config/file/file.go
vendored
@@ -2,7 +2,7 @@
|
||||
package file
|
||||
|
||||
import (
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
)
|
||||
|
||||
// Decode decodes the given configuration file into the given element.
|
||||
|
||||
2
third_party/traefik/config/file/file_node.go
vendored
2
third_party/traefik/config/file/file_node.go
vendored
@@ -7,7 +7,7 @@ import (
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package file
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
2
third_party/traefik/config/file/raw_node.go
vendored
2
third_party/traefik/config/file/raw_node.go
vendored
@@ -7,7 +7,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
)
|
||||
|
||||
func decodeRawToNode(data map[string]interface{}, rootName string, filters ...string) (*parser.Node, error) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package file
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@ package generator
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
)
|
||||
|
||||
type initializer interface {
|
||||
|
||||
@@ -3,7 +3,7 @@ package generator
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/config/parser"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/config/parser"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/types"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/types"
|
||||
)
|
||||
|
||||
type initializer interface {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/types"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/types"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/types"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/types"
|
||||
)
|
||||
|
||||
const defaultPtrValue = "false"
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/crazy-max/diun/v3/third_party/traefik/types"
|
||||
"github.com/crazy-max/diun/v4/third_party/traefik/types"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user