Documentation ¶
Index ¶
Constants ¶
View Source
const ( K3sContainerdSocket = "/run/k3s/containerd/containerd.sock" K3sContainerdVolume = "/var/lib/rancher" StockContainerdSocket = "/run/containerd/containerd.sock" StockContainerdVolume = "/var/lib/containerd" )
Variables ¶
View Source
var ( DefaultAgentPort = defaultAgentPort DefaultAgentImage = defaultAgentImage DefaultBuildkitImage = defaultBuildkitImage )
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Config ¶
type Config struct { AgentImage string `usage:"Image to run the agent w/ missing tag inferred from version"` AgentPort int `usage:"Port that the agent will listen on" default:"1233"` BuildkitImage string `usage:"BuildKit image for running buildkitd" default:"docker.io/moby/buildkit:v0.8.3"` BuildkitPort int `usage:"BuildKit service port" default:"1234"` BuildkitSocket string `usage:"BuildKit socket address" default:"unix:///run/buildkit/buildkitd.sock"` ContainerdSocket string `usage:"Containerd socket address (default on k3s \"/run/k3s/containerd/containerd.sock\")"` ContainerdVolume string `usage:"Containerd storage volume (default on k3s \"/var/lib/rancher\")"` }
func (*Config) GetAgentImage ¶
func (*Config) GetBuildkitImage ¶
Click to show internal directories.
Click to hide internal directories.