Documentation ¶
Index ¶
- Constants
- Variables
- func NewBatchSyncer(svcPort NegSyncerKey, networkEndpointGroupName string, ...) *batchSyncer
- func NewDelayRetryHandler(retryFunc func(), backoff backoffHandler) *backoffRetryHandler
- func NewExponentialBackendOffHandler(maxRetries int, minRetryDelay, maxRetryDelay time.Duration) *exponentialBackOffHandler
- func NewTransactionSyncer(negSyncerKey NegSyncerKey, networkEndpointGroupName string, ...) negtypes.NegSyncer
- func NewTransactionTable() transactionTable
- type ErrorList
- type NegSyncerKey
Constants ¶
View Source
const (
MAX_NETWORK_ENDPOINTS_PER_BATCH = 500
)
Variables ¶
View Source
var ErrHandlerRetrying = fmt.Errorf("retry handler is retrying")
View Source
var ErrRetriesExceeded = fmt.Errorf("maximum retry exceeded")
Functions ¶
func NewBatchSyncer ¶
func NewBatchSyncer(svcPort NegSyncerKey, networkEndpointGroupName string, recorder record.EventRecorder, cloud negtypes.NetworkEndpointGroupCloud, zoneGetter negtypes.ZoneGetter, serviceLister cache.Indexer, endpointLister cache.Indexer) *batchSyncer
func NewDelayRetryHandler ¶ added in v1.5.0
func NewDelayRetryHandler(retryFunc func(), backoff backoffHandler) *backoffRetryHandler
func NewExponentialBackendOffHandler ¶ added in v1.5.0
func NewTransactionSyncer ¶ added in v1.5.0
func NewTransactionSyncer(negSyncerKey NegSyncerKey, networkEndpointGroupName string, recorder record.EventRecorder, cloud negtypes.NetworkEndpointGroupCloud, zoneGetter negtypes.ZoneGetter, serviceLister cache.Indexer, endpointLister cache.Indexer) negtypes.NegSyncer
func NewTransactionTable ¶ added in v1.5.0
func NewTransactionTable() transactionTable
Types ¶
type NegSyncerKey ¶
NegSyncerKey includes information to uniquely identify a NEG
func (NegSyncerKey) String ¶
func (key NegSyncerKey) String() string
Click to show internal directories.
Click to hide internal directories.