Documentation ¶
Index ¶
- func AddEbpfPrograms(ctx context.Context, kfcfg *kf.NFConfigs) http.HandlerFunc
- func DeleteEbpfPrograms(ctx context.Context, kfcfg *kf.NFConfigs) http.HandlerFunc
- func GetConfig(w http.ResponseWriter, r *http.Request)
- func GetConfigAll(w http.ResponseWriter, r *http.Request)
- func InitConfigs(cfgs *kf.NFConfigs) error
- func UpdateConfig(ctx context.Context, kfcfg *kf.NFConfigs) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEbpfPrograms ¶
AddEbpfPrograms add new eBPF programs on node @Summary Adds new eBPF Programs on node @Description Adds new eBPF Programs on node @Accept json @Produce json @Param cfgs body []models.L3afBPFPrograms true "BPF programs" @Success 200 @Router /l3af/configs/v1/add [post]
func DeleteEbpfPrograms ¶
DeleteEbpfPrograms remove eBPF programs on node @Summary Removes eBPF Programs on node @Description Removes eBPF Programs on node @Accept json @Produce json @Param cfgs body []models.L3afBPFProgramNames true "BPF program names" @Success 200 @Router /l3af/configs/v1/delete [post]
func GetConfig ¶
func GetConfig(w http.ResponseWriter, r *http.Request)
GetConfig Returns details of the configuration of eBPF Programs for a given interface @Summary Returns details of the configuration of eBPF Programs for a given interface @Description Returns details of the configuration of eBPF Programs for a given interface @Accept json @Produce json @Param iface path string true "interface name" @Success 200 @Router /l3af/configs/v1/{iface} [get]
func GetConfigAll ¶
func GetConfigAll(w http.ResponseWriter, r *http.Request)
GetConfigAll Returns details of the configuration of eBPF Programs for all interfaces on a node @Summary Returns details of the configuration of eBPF Programs for all interfaces on a node @Description Returns details of the configuration of eBPF Programs for all interfaces on a node @Accept json @Produce json @Success 200 @Router /l3af/configs/v1 [get]
func InitConfigs ¶
func UpdateConfig ¶
UpdateConfig Update eBPF Programs configuration @Summary Update eBPF Programs configuration @Description Update eBPF Programs configuration @Accept json @Produce json @Param cfgs body []models.L3afBPFPrograms true "BPF programs" @Success 200 @Router /l3af/configs/v1/update [post]
Types ¶
This section is empty.