Documentation
¶
Index ¶
Constants ¶
const ( ReconcileAdd = "add" ReconcileUpdate = "update" ReconcileDelete = "delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriorityQueueItem ¶
type PriorityQueueItem struct {
// contains filtered or unexported fields
}
PriorityQueueItem specifies item of the priority queue
func (PriorityQueueItem) Priority ¶
func (i PriorityQueueItem) Priority() int
Priority gets priority of the queue item
type ReconcileCHI ¶
type ReconcileCHI struct {
PriorityQueueItem
Cmd string
Old *api.ClickHouseInstallation
New *api.ClickHouseInstallation
}
ReconcileCHI specifies reconcile request queue item
func NewReconcileCHI ¶
func NewReconcileCHI(cmd string, old, new *api.ClickHouseInstallation) *ReconcileCHI
NewReconcileCHI creates new reconcile request queue item
func (ReconcileCHI) Handle ¶
func (r ReconcileCHI) Handle() queue.T
Handle returns handle of the queue item
type ReconcileCHIT ¶
type ReconcileCHIT struct {
PriorityQueueItem
Cmd string
Old *api.ClickHouseInstallationTemplate
New *api.ClickHouseInstallationTemplate
}
ReconcileCHIT specifies reconcile CHI template queue item
func NewReconcileCHIT ¶
func NewReconcileCHIT(cmd string, old, new *api.ClickHouseInstallationTemplate) *ReconcileCHIT
NewReconcileCHIT creates new reconcile CHI template queue item
func (ReconcileCHIT) Handle ¶
func (r ReconcileCHIT) Handle() queue.T
Handle returns handle of the queue item
type ReconcileChopConfig ¶
type ReconcileChopConfig struct {
PriorityQueueItem
Cmd string
Old *api.ClickHouseOperatorConfiguration
New *api.ClickHouseOperatorConfiguration
}
ReconcileChopConfig specifies CHOp config queue item
func NewReconcileChopConfig ¶
func NewReconcileChopConfig(cmd string, old, new *api.ClickHouseOperatorConfiguration) *ReconcileChopConfig
NewReconcileChopConfig creates new CHOp config queue item
func (ReconcileChopConfig) Handle ¶
func (r ReconcileChopConfig) Handle() queue.T
Handle returns handle of the queue item
type ReconcileEndpointSlice ¶
type ReconcileEndpointSlice struct {
PriorityQueueItem
Cmd string
Old *discovery.EndpointSlice
New *discovery.EndpointSlice
}
ReconcileEndpointSlice specifies endpointSlice
func NewReconcileEndpointSlice ¶
func NewReconcileEndpointSlice(cmd string, old, new *discovery.EndpointSlice) *ReconcileEndpointSlice
NewReconcileEndpointSlice creates new reconcile endpointSlice queue item
func (ReconcileEndpointSlice) Handle ¶
func (r ReconcileEndpointSlice) Handle() queue.T
Handle returns handle of the queue item
type ReconcileEndpoints ¶
type ReconcileEndpoints struct {
PriorityQueueItem
Cmd string
Old *core.Endpoints
New *core.Endpoints
}
ReconcileEndpoints specifies endpoint
func NewReconcileEndpoints ¶
func NewReconcileEndpoints(cmd string, old, new *core.Endpoints) *ReconcileEndpoints
NewReconcileEndpoints creates new reconcile endpoints queue item
func (ReconcileEndpoints) Handle ¶
func (r ReconcileEndpoints) Handle() queue.T
Handle returns handle of the queue item
type ReconcilePod ¶
ReconcilePod specifies pod reconcile
func NewReconcilePod ¶
func NewReconcilePod(cmd string, old, new *core.Pod) *ReconcilePod
NewReconcilePod creates new reconcile endpoints queue item
func (ReconcilePod) Handle ¶
func (r ReconcilePod) Handle() queue.T
Handle returns handle of the queue item