Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists asserts alreadyExistsError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Interface ¶
Interface is some form of lock implementation like achieved for in process locking using sync.Mutex.
type KubeLockLocker ¶
type KubeLockLocker struct {
// contains filtered or unexported fields
}
func NewKubeLockLocker ¶
func NewKubeLockLocker(config KubeLockLockerConfig) (*KubeLockLocker, error)
type KubeLockLockerConfig ¶
type KubeLockLockerConfig struct { Logger micrologger.Logger RestConfig *rest.Config }
type MutexLocker ¶
type MutexLocker struct {
// contains filtered or unexported fields
}
MutexLocker implements Interface using sync.Mutex. For now we use a shared instance of *MutexLocker for all IPAM related activity of network packages in the legacy controllers and ipam resources in the clusterapi controllers.
func NewMutexLocker ¶
func NewMutexLocker(config MutexLockerConfig) (*MutexLocker, error)
type MutexLockerConfig ¶
type MutexLockerConfig struct {
Logger micrologger.Logger
}
Click to show internal directories.
Click to hide internal directories.