Documentation
¶
Index ¶
Constants ¶
const DriverDirectory = "/tmp/driver"
DriverDirectory is the directory the processor uses to store the driver.
const ModuleFileName = "falco.ko"
ModuleFileName is the standard file name for the kernel module.
const ProbeFileName = "probe.o"
ProbeFileName is the standard file name for the eBPF probe.
Variables ¶
var BuilderByTarget = Targets{}
BuilderByTarget maps targets to their builder.
var FalcoModuleFullPath = path.Join(DriverDirectory, ModuleFileName)
FalcoModuleFullPath is the standard path for the kernel module.
var FalcoProbeFullPath = path.Join(DriverDirectory, "bpf", ProbeFileName)
FalcoProbeFullPath is the standard path for the eBPF probe.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
TargetType Type
KernelConfigData string
KernelRelease string
KernelVersion uint16
DriverVersion string
Architecture string
ModuleFilePath string
ProbeFilePath string
}
Build contains the info about the on-going build.
type Config ¶
Config contains all the configurations needed to build the kernel module or the eBPF probe.
type Type ¶
type Type string
Type is a type representing targets.
const TargetTypeAmazonLinux Type = "amazonlinux"
TargetTypeAmazonLinux identifies the AmazonLinux target.
const TargetTypeAmazonLinux2 Type = "amazonlinux2"
TargetTypeAmazonLinux2 identifies the AmazonLinux2 target.
const TargetTypeCentos Type = "centos"
TargetTypeCentos identifies the Centos target.
const TargetTypeDebian Type = "debian"
TargetTypeDebian identifies the Debian target.
const TargetTypeUbuntuAWS Type = "ubuntu-aws"
TargetTypeUbuntuAWS identifies the UbuntuAWS target.
const TargetTypeUbuntuGeneric Type = "ubuntu-generic"
TargetTypeUbuntuGeneric identifies the UbuntuGeneric target.
const TargetTypeVanilla Type = "vanilla"
TargetTypeVanilla identifies the Vanilla target.