Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatorAzure ¶
type AllocatorAzure struct {
AzureSubscriptionID string
AzureResourceGroup string
AzureUserAssignedIdentityID string
AzureUsePrimaryAddress bool
ParallelAllocWorkers int64
LimitIPAMAPIBurst int
LimitIPAMAPIQPS float64
AzureMetrics azureAPI.MetricsAPI
// contains filtered or unexported fields
}
AllocatorAzure is an implementation of IPAM allocator interface for Azure
func (*AllocatorAzure) Start ¶
func (a *AllocatorAzure) Start(ctx context.Context, getterUpdater allocator.CiliumNodeGetterUpdater, iMetrics nodemanager.MetricsAPI) (allocator.NodeEventHandler, error)
Start kicks of the Azure IP allocation
type Metrics ¶
type Metrics struct {
APIDuration metric.Vec[metric.Observer]
RateLimit metric.Vec[metric.Observer]
}
Metrics holds the metrics for the Azure API client.
func NewMetrics ¶
func NewMetrics() *Metrics
NewMetrics returns the metrics for the Azure API client.
func (*Metrics) ObserveAPICall ¶
ObserveAPICall records the duration of an API call.
Click to show internal directories.
Click to hide internal directories.