-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
before ```go ❯ find ./pkg/cmd/server/config -maxdepth 1 -type f | grep .go | xargs -I {} sh -c "echo && echo && echo {} && go list -f {{.Deps}} {} | sed 's/ /\n/g' | grep -E 'github.com/vmware-tanzu/velero/pkg/podvolume'" ./pkg/cmd/server/config/config.go github.com/vmware-tanzu/velero/pkg/podvolume ./pkg/cmd/server/config/config_test.go ``` after ```go ~/git/velero refactor-pluginframeworkdep ❯ find ./pkg/cmd/server/config -maxdepth 1 -type f | grep .go | xargs -I {} sh -c "echo && echo && echo {} && go list -f {{.Deps}} {} | sed 's/ /\n/g' | grep -E 'github.com/vmware-tanzu/velero/pkg/podvolume'" ./pkg/cmd/server/config/config.go github.com/vmware-tanzu/velero/pkg/podvolume/configs ./pkg/cmd/server/config/config_test.go ``` Signed-off-by: Tiger Kaovilai <[email protected]>
- Loading branch information
Showing
6 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package configs | ||
|
||
const ( | ||
// PVCNameAnnotation is the key for the annotation added to | ||
// pod volume backups when they're for a PVC. | ||
PVCNameAnnotation = "velero.io/pvc-name" | ||
|
||
// Deprecated. | ||
// | ||
// TODO(2.0): remove | ||
PodAnnotationPrefix = "snapshot.velero.io/" | ||
|
||
// DefaultVolumesToFsBackup specifies whether pod volume backup should be used, by default, to | ||
// take backup of all pod volumes. | ||
DefaultVolumesToFsBackup = false | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters