templates

package
v0.0.0-...-ca78c08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerdConfigTemplate = `` /* 4194-byte string literal not displayed */

Variables

This section is empty.

Functions

func ParseTemplateFromConfig

func ParseTemplateFromConfig(templateBuffer string, config interface{}) (string, error)

Types

type ContainerdConfig

type ContainerdConfig struct {
	NodeConfig            *config.Node
	DisableCgroup         bool
	SystemdCgroup         bool
	IsRunningInUserNS     bool
	EnableUnprivileged    bool
	PrivateRegistryConfig *registries.Registry
	ExtraRuntimes         map[string]ContainerdRuntimeConfig
}

type ContainerdRuntimeConfig

type ContainerdRuntimeConfig struct {
	RuntimeType string
	BinaryName  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL