-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- the driver now takes care of mounting and unmounting datasets - datasets now use mountpoint=legacy which means we don't need to rely on zfs-mount.service to mount the datasets initially - remove some features i don't use to make my life easier - update dependencies and fix tests Why? relying on zfs-mount.service means it's harder to correctly order shutdown. This should no longer matter since as long as the docker-zfs-plugin service is correctly ordered in relation to the zfs pool that houses the data shutdown should be cleaner.
- Loading branch information
1 parent
bc70514
commit a44d837
Showing
16 changed files
with
373 additions
and
536 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
{ lib, buildGoModule }: | ||
buildGoModule rec { | ||
buildGoModule { | ||
pname = "docker-zfs-plugin"; | ||
version = "2.0.0"; | ||
version = "3.0.0"; | ||
|
||
src = lib.cleanSource ./.; | ||
|
||
vendorHash = "sha256-/oAk/gFNlS4zRBMrp1KWeyeunDKgV+p6C+jP+OwcfGg="; | ||
vendorHash = "sha256-9bIVchjrNqXDYdLLS634QVqXmpR4NQ4ANeiwkkLEi+E="; | ||
subPackages = [ "." ]; | ||
|
||
meta = with lib; { | ||
supportedPlatforms = platforms.linux; | ||
}; | ||
meta = with lib; { supportedPlatforms = platforms.linux; }; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
module github.com/ZentriaMC/docker-zfs-plugin | ||
module github.com/ReneHollander/docker-zfs-plugin | ||
|
||
go 1.16 | ||
go 1.23 | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.5.2 // indirect | ||
github.com/c9s/goprocinfo v0.0.0-20210130143923-c95fcf8c64a8 | ||
github.com/clinta/go-zfs v0.0.0-20181025145938-e5fe14d9dcb7 | ||
github.com/coreos/go-systemd/v22 v22.5.0 | ||
github.com/docker/go-plugins-helpers v0.0.0-20240701071450-45e2431495c8 | ||
github.com/flytam/filenamify v1.2.0 | ||
github.com/urfave/cli/v2 v2.27.5 | ||
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 | ||
) | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.6.2 // indirect | ||
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect | ||
github.com/coreos/go-systemd/v22 v22.3.2 | ||
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651 | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/urfave/cli/v2 v2.4.5 | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.21.0 | ||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect | ||
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect | ||
github.com/docker/go-connections v0.5.0 // indirect | ||
github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
github.com/stretchr/testify v1.8.1 // indirect | ||
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
) | ||
|
||
replace github.com/docker/go-plugins-helpers => github.com/clinta/go-plugins-helpers v0.0.0-20200221140445-4667bb9f0ed5 // for shutdown |
Oops, something went wrong.