package
0.0.0-20240826154825-76dc262912bf
Repository: https://github.com/ipdk-io/k8s-infra-offload.git
Documentation: pkg.go.dev
# Functions
CheckGrpcServerStatus will check gRPC server status using gRPC health check.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetClientCredentials returns gRPC client credential based on user provided configuration.
No description provided by the author
GetDataDirPath will return path to cache directory of given type.
GetIntfPciAddress takes in an interface name as string and returns it's PCI address when prefix will be not empty it will be prepended before default "/sys/class/net" directory name.
GetIPFromIPAM will request IP address from host-local IPAM, it will be used as Infra host interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSubnets gets service and pod subnet.
GetTapInterfaces returns a list of host Tap interance info matching a naming prefix using "prefix".
GetVFList returns SRIOV-VF for given pf network interface name when prefix will be not empty it will be prepended before default "/sys/class/net" directory name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewCalicoWatcher returns new watcher for Calico's config file.
NewCDQManager returns a singleton instance of CDQManager for a master inteface.
NewEnvConfigurer will return new environment configurer.
No description provided by the author
NewGrpcWatcher returns new gRPC watcher.
No description provided by the author
NewOsVariableConfigurer will return new variable configurer based on os package.
No description provided by the author
RegisterSignalHandlers registers a signal handler for capturedSignals and starts a goroutine that will block until a signal is received.
ReleaseIPFromIPAM will release IP address assigned for Infra host interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VerifiedFilePath validates a file for potential file path traversal attacks.
WaitFor will wait for watcher result.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SysClassNet is a directory for network interface data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
IpamExecAddFunc can be used to point to IPAM add function.
IpamExecDelFunc can be used to point to IPAM delete function.
No description provided by the author