Versions in this module Expand all Collapse all v1 v1.0.1 Jun 25, 2024 Changes in this version + const HighPerformance — linux/amd64 + const IrqSmpAffinityProcFile + const IsolatedCPUsEnvVar — linux/amd64 + const SharedCPUsEnvVar — linux/amd64 + func RestoreIrqBalanceConfig(ctx context.Context, ...) error + func ShouldCPUQuotaBeDisabled(ctx context.Context, cid string, cSpec *specs.Spec, s *sandbox.Sandbox, ...) bool — linux/amd64 + func UpdateIRQSmpAffinityMask(cpus, current string, set bool) (cpuMask, bannedCPUMask string, err error) — linux/amd64 + type DefaultCPULoadBalanceHooks struct + func (*DefaultCPULoadBalanceHooks) PostStop(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + func (*DefaultCPULoadBalanceHooks) PreCreate(context.Context, *generate.Generator, *sandbox.Sandbox, *oci.Container) error + func (*DefaultCPULoadBalanceHooks) PreStart(context.Context, *oci.Container, *sandbox.Sandbox) error + func (*DefaultCPULoadBalanceHooks) PreStop(context.Context, *oci.Container, *sandbox.Sandbox) error + type HighPerformanceHook interface + type HighPerformanceHooks struct — linux/amd64 + func (*HighPerformanceHooks) PostStop(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + func (h *HighPerformanceHooks) PreCreate(ctx context.Context, specgen *generate.Generator, s *sandbox.Sandbox, ...) error + func (h *HighPerformanceHooks) PreStart(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + func (h *HighPerformanceHooks) PreStop(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + type RuntimeHandlerHooks interface + PostStop func(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + PreCreate func(ctx context.Context, specgen *generate.Generator, s *sandbox.Sandbox, ...) error + PreStart func(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + PreStop func(ctx context.Context, c *oci.Container, s *sandbox.Sandbox) error + func GetRuntimeHandlerHooks(ctx context.Context, config *libconfig.Config, handler string, ...) (RuntimeHandlerHooks, error)