Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CECTableName = "ciliumenvoyconfigs" CECByName = cecNameIndex.Query CECByServiceName = cecServiceIndex.Query )
View Source
var Cell = cell.Module( "ciliumenvoyconfig", "CiliumEnvoyConfig", cell.Config(cecConfig{}), cell.Invoke(registerCECK8sReconciler), cell.ProvidePrivate(newCECManager), cell.ProvidePrivate(newCECResourceParser), cell.ProvidePrivate(newEnvoyServiceBackendSyncer), cell.ProvidePrivate(newPortAllocator), experimentalCell, )
Cell provides support for the CRD CiliumEnvoyConfig that backs Ingress, Gateway API and L7 loadbalancing.
Functions ¶
Types ¶
type CEC ¶ added in v1.17.0
type CEC struct {
Name k8sTypes.NamespacedName
Spec *ciliumv2.CiliumEnvoyConfigSpec
Selector labels.Selector `json:"-"`
SelectsLocalNode bool
Listeners part.Map[string, uint16]
// FrontendsRevision is the latest revision of [experimental.Frontend] from
// which the [Resources.Endpoints] were updated. This is used to coordinate
// updates between the reflector and the backendController.
FrontendsRevision statedb.Revision
// Resources is the parsed envoy.Resources.
Resources envoy.Resources `json:"-"`
// ReconciledResources is the last successfully reconciled resources.
// Updated by the reconciliation operations.
ReconciledResources *envoy.Resources `json:"-"`
// Status is the reconciliation status of [Resources] towards Envoy.
Status reconciler.Status
}
func (*CEC) GetStatus ¶ added in v1.17.0
func (cec *CEC) GetStatus() reconciler.Status
func (*CEC) SetStatus ¶ added in v1.17.0
func (cec *CEC) SetStatus(newStatus reconciler.Status) *CEC
func (*CEC) TableHeader ¶ added in v1.17.0
type CECMetrics ¶ added in v1.16.6
type CECMetrics interface {
AddCEC(cec *ciliumv2.CiliumEnvoyConfigSpec)
DelCEC(cec *ciliumv2.CiliumEnvoyConfigSpec)
AddCCEC(spec *ciliumv2.CiliumEnvoyConfigSpec)
DelCCEC(spec *ciliumv2.CiliumEnvoyConfigSpec)
}
type CECName ¶ added in v1.17.0
type CECName = k8sTypes.NamespacedName
Click to show internal directories.
Click to hide internal directories.