Help us shape the future of Go! Take the 2026 Go Developer Survey

restapi

package
v1.18.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIRequestEndpointCreate = "endpoint-create"
	APIRequestEndpointDelete = "endpoint-delete"
	APIRequestEndpointGet    = "endpoint-get"
	APIRequestEndpointPatch  = "endpoint-patch"
	APIRequestEndpointList   = "endpoint-list"
)
View Source
const (
	// ConfigModifyQueueSize is the size of the event queue for serializing
	// configuration updates to the daemon
	ConfigModifyQueueSize = 10
)

Variables

View Source
var Cell = cell.Module(
	"cilium-restapi",
	"Cilium Agent API handlers",

	rateLimiterCell,
	configModificationCell,
	policyAPICell,
)

Functions

This section is empty.

Types

type ConfigModifyEvent added in v1.17.0

type ConfigModifyEvent struct {
	// contains filtered or unexported fields
}

ConfigModifyEvent is a wrapper around the parameters for configModify.

func (*ConfigModifyEvent) Handle added in v1.17.0

func (e *ConfigModifyEvent) Handle(res chan any)

Handle implements pkg/eventqueue/EventHandler interface.

type ConfigModifyEventHandler added in v1.17.0

type ConfigModifyEventHandler struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL