moby/daemon/config
Sebastiaan van Stijn 5cdd6ab7cd
daemon/config: remove TrustKeyPath, and local utilities
Turned out that the loadOrCreateTrustKey() utility was doing exactly the
same as libtrust.LoadOrCreateTrustKey(), so making it a thin wrapped. I kept
the tests to verify the behavior, but we could remove them as we only need this
for our integration tests.

The storage location for the generated key was changed (again as we only need
this for some integration tests), so we can remove the TrustKeyPath from the
config.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-28 20:29:19 +01:00
..
builder.go daemon/config: use strings.Cut(), fix panic in BuilderGCFilter 2022-11-16 15:15:05 +01:00
builder_test.go daemon/config: use strings.Cut(), fix panic in BuilderGCFilter 2022-11-16 15:15:05 +01:00
config.go daemon/config: remove TrustKeyPath, and local utilities 2022-11-28 20:29:19 +01:00
config_linux.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
config_linux_test.go Merge pull request #43978 from cpuguy83/default_runtime_shim 2022-08-18 22:59:57 +02:00
config_test.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
config_windows.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
config_windows_test.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
opts.go Bump swarmkit to v2 2022-04-21 17:33:07 -04:00