Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSyncIntervalsController ¶
func AddSyncIntervalsController(mgr ctrl.Manager, syncIntervals *SyncIntervals) error
AddSyncIntervalsController creates a new instance of config map controller and adds it to the manager.
Types ¶
type ResolveSyncIntervalFunc ¶
ResolveSyncIntervalFunc is a function for resolving corresponding sync interval from SyncIntervals data structure.
type SyncIntervals ¶
type SyncIntervals struct {
// contains filtered or unexported fields
}
SyncIntervals holds periodic sync intervals.
func NewSyncIntervals ¶
func NewSyncIntervals() *SyncIntervals
NewSyncIntervals returns new HohConfigMapData object initialized with default periodic sync intervals.
func (*SyncIntervals) GetControlInfo ¶
func (syncIntervals *SyncIntervals) GetControlInfo() time.Duration
GetControlInfo returns control info sync interval.
func (*SyncIntervals) GetManagerClusters ¶
func (syncIntervals *SyncIntervals) GetManagerClusters() time.Duration
GetManagerClusters returns managed clusters sync interval.
func (*SyncIntervals) GetPolicies ¶
func (syncIntervals *SyncIntervals) GetPolicies() time.Duration
GetPolicies returns policies sync interval.
Click to show internal directories.
Click to hide internal directories.