restapi

package
v1.18.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 45 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 interface{})

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