Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const AnonOverlayPrefix + const MemoryOverlay + const NoOverlay + const SelfOverlay + var Bundles = map[BundleName]Bundle + var MetricMetadataKeys = []string + func RegisterFlags(flagSet *flag.FlagSet) + type Bundle map[string]string + func (b Bundle) Validate() error + type BundleName string + type Config struct + AFXDPUseNeedWakeup bool + AllowFlagOverride bool + AllowPacketEndpointWrite bool + AlsoLogToStderr bool + BufferPooling bool + CPUNumFromQuota bool + CoverageReport string + DCache int + Debug bool + DebugCommand string + DebugLog string + DebugLogFormat string + DebugToUserLog bool + DirectFS bool + DisableSeccomp bool + EnableCoreTags bool + EnableRaw bool + FDLimit int + FSGoferHostUDS bool + FileAccess FileAccessType + FileAccessMounts FileAccessType + GVisorGRO bool + GVisorGSO bool + HostFifo HostFifo + HostGSO bool + HostUDS HostUDS + IOUring bool + IgnoreCgroups bool + LogFilename string + LogFormat string + LogPackets bool + MetricServer string + NVProxy bool + NVProxyDocker bool + NVProxyDriverVersion string + Network NetworkType + NetworkProcessorsPerChannel int + NumNetworkChannels int + OCISeccomp bool + Overlay bool + Overlay2 Overlay2 + PCAP string + PanicLog string + PanicSignal int + Platform string + PlatformDevicePath string + PodInitConfig string + ProfileBlock string + ProfileCPU string + ProfileEnable bool + ProfileHeap string + ProfileMutex string + ProfilingMetrics string + ProfilingMetricsLog string + ProfilingMetricsRate int + QDisc QueueingDiscipline + RXChecksumOffload bool + ReferenceLeak refs.LeakMode + ReproduceNAT bool + ReproduceNftables bool + RootDir string + Rootless bool + Strace bool + StraceEvent bool + StraceLogSize uint + StraceSyscalls string + SystemdCgroup bool + TPUProxy bool + TXChecksumOffload bool + TestOnlyAFSSyscallPanic bool + TestOnlyAllowRunAsCurrentUserWithoutChroot bool + TestOnlyAutosaveImagePath string + TestOnlyAutosaveResume bool + TestOnlyTestNameEnv string + TraceFile string + Traceback string + WatchdogAction watchdog.Action + XDP XDP + func NewFromBundle(bundle Bundle) (*Config, error) + func NewFromFlags(flagSet *flag.FlagSet) (*Config, error) + func (c *Config) ApplyBundles(flagSet *flag.FlagSet, bundleNames ...BundleName) error + func (c *Config) GetHostUDS() HostUDS + func (c *Config) GetOverlay2() Overlay2 + func (c *Config) Log() + func (c *Config) MetricMetadata() map[string]string + func (c *Config) Override(flagSet *flag.FlagSet, name string, value string, force bool) error + func (c *Config) ToContainerdConfigTOML(opts ContainerdConfigOptions) (string, error) + func (c *Config) ToFlags() []string + type ContainerdConfigOptions struct + BinaryPath string + Options map[string]string + RootPath string + RunscFlags []KeyVal + type FileAccessType int + const FileAccessExclusive + const FileAccessShared + func (f *FileAccessType) Get() any + func (f *FileAccessType) Set(v string) error + func (f FileAccessType) String() string + type HostFifo int + const HostFifoNone + const HostFifoOpen + func (g *HostFifo) Get() any + func (g *HostFifo) Set(v string) error + func (g HostFifo) AllowOpen() bool + func (g HostFifo) String() string + type HostUDS int + const HostUDSAll + const HostUDSCreate + const HostUDSNone + const HostUDSOpen + func (g *HostUDS) Get() any + func (g *HostUDS) Set(v string) error + func (g HostUDS) AllowCreate() bool + func (g HostUDS) AllowOpen() bool + func (g HostUDS) String() string + type KeyVal struct + Key string + Val string + type NetworkType int + const NetworkHost + const NetworkNone + const NetworkSandbox + func (n *NetworkType) Get() any + func (n *NetworkType) Set(v string) error + func (n NetworkType) String() string + type Overlay2 struct + func (o *Overlay2) Enabled() bool + func (o *Overlay2) Get() any + func (o *Overlay2) RootOverlayMedium() OverlayMedium + func (o *Overlay2) Set(v string) error + func (o *Overlay2) SubMountOverlayMedium() OverlayMedium + func (o Overlay2) String() string + type OverlayMedium string + func (m *OverlayMedium) Set(v string) error + func (m OverlayMedium) HostFileDir() string + func (m OverlayMedium) IsBackedByAnon() bool + func (m OverlayMedium) String() string + type QueueingDiscipline int + const QDiscFIFO + const QDiscNone + func (q *QueueingDiscipline) Get() any + func (q *QueueingDiscipline) Set(v string) error + func (q QueueingDiscipline) String() string + type XDP struct + IfaceName string + Mode XDPMode + func (xd *XDP) Get() any + func (xd *XDP) Set(input string) error + func (xd *XDP) String() string + type XDPMode int + const XDPModeNS + const XDPModeOff + const XDPModeRedirect + const XDPModeTunnel