2019-04-19 21:08:05 +00:00
|
|
|
package templates
|
|
|
|
|
|
|
|
import (
|
2021-05-10 22:58:41 +00:00
|
|
|
"github.com/rancher/wharfie/pkg/registries"
|
|
|
|
|
2022-03-02 23:47:27 +00:00
|
|
|
"github.com/k3s-io/k3s/pkg/daemons/config"
|
2019-04-19 21:08:05 +00:00
|
|
|
)
|
|
|
|
|
2021-09-15 21:31:11 +00:00
|
|
|
type ContainerdRuntimeConfig struct {
|
|
|
|
RuntimeType string
|
|
|
|
BinaryName string
|
|
|
|
}
|
|
|
|
|
2019-04-19 21:08:05 +00:00
|
|
|
type ContainerdConfig struct {
|
2019-10-07 23:04:58 +00:00
|
|
|
NodeConfig *config.Node
|
2021-03-02 08:57:40 +00:00
|
|
|
DisableCgroup bool
|
2022-04-18 23:06:50 +00:00
|
|
|
SystemdCgroup bool
|
2019-10-07 23:04:58 +00:00
|
|
|
IsRunningInUserNS bool
|
2021-05-10 22:58:41 +00:00
|
|
|
PrivateRegistryConfig *registries.Registry
|
2021-09-15 21:31:11 +00:00
|
|
|
ExtraRuntimes map[string]ContainerdRuntimeConfig
|
2019-04-19 21:08:05 +00:00
|
|
|
}
|