k3s/pkg/agent/templates/templates.go

21 lines
430 B
Go
Raw Normal View History

2019-04-19 21:08:05 +00:00
package templates
import (
"github.com/rancher/wharfie/pkg/registries"
2019-04-19 21:08:05 +00:00
"github.com/rancher/k3s/pkg/daemons/config"
)
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
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
}