Documentation ¶
Index ¶
- Variables
- func DefaultBuildkitConfig() *buildkit.Config
- func DefaultCniConf(bridge, cidr string) map[string]interface{}
- func DefaultCniConflist(bridge, cidr string) map[string]interface{}
- func WriteFileJSON(path string, data interface{}, mode os.FileMode) error
- func WriteFileTOML(path string, data interface{}, mode os.FileMode) error
- type K3Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultDaemonConfigFile = defaults.DefaultConfigFile DefaultDaemonRootDir = defaults.DefaultRootDir DefaultDaemonStateDir = defaults.DefaultStateDir DefaultDaemonAddress = DefaultDaemonStateDir + filepath.Base(defaults.DefaultAddress) DefaultBridgeName = defaults.DefaultBridgeName DefaultBridgeCIDR = defaults.DefaultBridgeCIDR DefaultBootstrapImage = "docker.io/rancher/k3c:latest" DefaultSandboxImage = defaults.DefaultSandboxImage DefaultPodLogsDir = defaults.DefaultPodLogsDir DefaultVolumesDir = filepath.Join(DefaultDaemonRootDir, "volumes") )
View Source
var (
Socket config.GRPCConfig
)
Functions ¶
func DefaultBuildkitConfig ¶
func DefaultCniConf ¶
func DefaultCniConflist ¶
Types ¶
type K3Config ¶
type K3Config struct { BootstrapSkip bool `toml:"bootstrap_skip"` BootstrapImage string `toml:"bootstrap_image"` BridgeName string `toml:"bridge_name"` BridgeCIDR string `toml:"bridge_cidr"` PodLogs string `toml:"pod_logs"` Volumes string `toml:"volumes"` }
func DefaultK3Config ¶
func DefaultK3Config() *K3Config
Click to show internal directories.
Click to hide internal directories.