Documentation ¶
Index ¶
Constants ¶
View Source
const All = "*"
Variables ¶
This section is empty.
Functions ¶
func CalculateCheckSum ¶
Types ¶
type Allocator ¶
type Allocator struct { *allocator.IPAllocator // contains filtered or unexported fields }
func NewAllocator ¶
func NewAllocator(name string, ranges []lbv1.Range, cache ctllbv1.IPPoolCache, client ctllbv1.IPPoolClient) (*Allocator, error)
type Matcher ¶
func NewMatcher ¶
func (*Matcher) Matches ¶
func (m *Matcher) Matches(r *Requirement) bool
type Requirement ¶
type SafeAllocatorMap ¶
type SafeAllocatorMap struct {
// contains filtered or unexported fields
}
func NewSafeAllocatorMap ¶
func NewSafeAllocatorMap() *SafeAllocatorMap
func (*SafeAllocatorMap) AddOrUpdate ¶
func (s *SafeAllocatorMap) AddOrUpdate(name string, allocator *Allocator)
func (*SafeAllocatorMap) Delete ¶
func (s *SafeAllocatorMap) Delete(name string)
func (*SafeAllocatorMap) Get ¶
func (s *SafeAllocatorMap) Get(name string) *Allocator
type Selector ¶
type Selector struct {
ctllbv1.IPPoolCache
}
func NewSelector ¶
func NewSelector(cache ctllbv1.IPPoolCache) *Selector
Click to show internal directories.
Click to hide internal directories.