k3s/pkg/agent/templates/templates.go

22 lines
457 B
Go
Raw Normal View History

2019-04-19 21:08:05 +00:00
package templates
import (
"github.com/rancher/wharfie/pkg/registries"
"github.com/k3s-io/k3s/pkg/daemons/config"
2019-04-19 21:08:05 +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
DisableCgroup bool
SystemdCgroup bool
2019-10-07 23:04:58 +00:00
IsRunningInUserNS bool
PrivateRegistryConfig *registries.Registry
ExtraRuntimes map[string]ContainerdRuntimeConfig
2019-04-19 21:08:05 +00:00
}