Skip to content

Commit

Permalink
feat(mongodb): mongodb容量变更 #3510
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Mar 18, 2024
1 parent 7e84ee4 commit fcf08d1
Show file tree
Hide file tree
Showing 206 changed files with 691 additions and 5,311 deletions.
6 changes: 3 additions & 3 deletions dbm-services/go.work
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use (
riak/db-tools/dbactuator
riak/db-tools/riak-monitor
sqlserver/db-tools/dbactuator
mongo/db-tools/dbmon
mongo/db-tools/mongo-toolkit-go
mongo/db-tools/dbactuator
mongodb/db-tools/dbmon
mongodb/db-tools/mongo-toolkit-go
mongodb/db-tools/dbactuator
)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.idea
.vscode
logs/*
bin/mongo-dbactuator
build/mongo-dbactuator
scripts/upload_media.sh
.codecc
gonote
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"log"
"os"

"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobmanager"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobmanager"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/spf13/cobra"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module dbm-services/mongo/db-tools/dbactuator
module dbm-services/mongodb/db-tools/dbactuator

go 1.21

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright © 2022 NAME HERE <EMAIL ADDRESS>
*/
package main

import "dbm-services/mongo/db-tools/dbactuator/cmd"
import "dbm-services/mongodb/db-tools/dbactuator/cmd"

func main() {
cmd.Execute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package atommongodb

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongo/db-tools/dbmon/config"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/backupsys"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/mycmd"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/report"
"dbm-services/mongo/db-tools/mongo-toolkit-go/toolkit/logical"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbmon/config"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/backupsys"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/mycmd"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/report"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/toolkit/logical"
"encoding/json"
"fmt"
"path"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package atommongodb

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"fmt"
"os"
"os/user"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strconv"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strconv"
"strings"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"

"github.com/go-playground/validator/v10"
"gopkg.in/yaml.v2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package atommongodb

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
"encoding/json"
"fmt"
"os"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package atommongodb

import (
"context"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongo/db-tools/mongo-toolkit-go/toolkit/pitr"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/toolkit/pitr"
"encoding/json"
"fmt"
"os"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package atommongodb

import (
"context"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongo/db-tools/mongo-toolkit-go/toolkit/logical"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/toolkit/logical"
"encoding/json"
"fmt"
"strings"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strconv"
"strings"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package atommongodb

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongo/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongo/db-tools/mongo-toolkit-go/toolkit/logical"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/pkg/mymongo"
"dbm-services/mongodb/db-tools/mongo-toolkit-go/toolkit/logical"
"encoding/json"
"fmt"
"os"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package atomsys

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/atomjobs/atommongodb"
"dbm-services/mongodb/db-tools/dbactuator/pkg/atomjobs/atommongodb"
"encoding/json"
"fmt"
"os"
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/pkg/common"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/common"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/jobruntime"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"

"github.com/go-playground/validator/v10"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strings"
"time"

"dbm-services/mongo/db-tools/dbactuator/mylog"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/mylog"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
)

// UploadTask 操作备份系统
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package common

import (
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
"encoding/json"
"fmt"
"io/ioutil"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"regexp"
"time"

"dbm-services/mongo/db-tools/dbactuator/mylog"
"dbm-services/mongo/db-tools/dbactuator/pkg/consts"
"dbm-services/mongo/db-tools/dbactuator/pkg/util"
"dbm-services/mongodb/db-tools/dbactuator/mylog"
"dbm-services/mongodb/db-tools/dbactuator/pkg/consts"
"dbm-services/mongodb/db-tools/dbactuator/pkg/util"
)

// MediaPkg 通用介质包处理
Expand Down
Loading

0 comments on commit fcf08d1

Please sign in to comment.