Documentation ¶
Overview ¶
Copyright 2021 The Operator-SDK Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 The Operator-SDK Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 The Operator-SDK Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type LoggingEnqueueRequestForAnnotation
- func (h LoggingEnqueueRequestForAnnotation) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForAnnotation) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForAnnotation) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForAnnotation) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type LoggingEnqueueRequestForObject
- func (h LoggingEnqueueRequestForObject) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForObject) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForObject) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForObject) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type LoggingEnqueueRequestForOwner
- func (h LoggingEnqueueRequestForOwner) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForOwner) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForOwner) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (h LoggingEnqueueRequestForOwner) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingEnqueueRequestForAnnotation ¶
type LoggingEnqueueRequestForAnnotation struct {
handler.EnqueueRequestForAnnotation
}
LoggingEnqueueRequestForAnnotation wraps operator-lib handler for "InstrumentedEnqueueRequestForObject", and logs the events as they occur
&handler.LoggingEnqueueRequestForAnnotation{}
func (LoggingEnqueueRequestForAnnotation) Create ¶
func (h LoggingEnqueueRequestForAnnotation) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
Create implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForAnnotation) Delete ¶
func (h LoggingEnqueueRequestForAnnotation) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForAnnotation) Generic ¶
func (h LoggingEnqueueRequestForAnnotation) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
Generic implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForAnnotation) Update ¶
func (h LoggingEnqueueRequestForAnnotation) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Update implements EventHandler, and emits a log message.
type LoggingEnqueueRequestForObject ¶
type LoggingEnqueueRequestForObject struct {
handler.InstrumentedEnqueueRequestForObject
}
LoggingEnqueueRequestForObject wraps operator-lib handler for "InstrumentedEnqueueRequestForObject", and logs the events as they occur
&handler.LoggingEnqueueRequestForObject{}
func (LoggingEnqueueRequestForObject) Create ¶
func (h LoggingEnqueueRequestForObject) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
Create implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForObject) Delete ¶
func (h LoggingEnqueueRequestForObject) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForObject) Generic ¶
func (h LoggingEnqueueRequestForObject) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
Generic implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForObject) Update ¶
func (h LoggingEnqueueRequestForObject) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Update implements EventHandler, and emits a log message.
type LoggingEnqueueRequestForOwner ¶
type LoggingEnqueueRequestForOwner struct {
crHandler.EnqueueRequestForOwner
}
LoggingEnqueueRequestForOwner wraps operator-lib handler for "InstrumentedEnqueueRequestForObject", and logs the events as they occur
&handler.LoggingEnqueueRequestForOwner{}
func (LoggingEnqueueRequestForOwner) Create ¶
func (h LoggingEnqueueRequestForOwner) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
Create implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForOwner) Delete ¶
func (h LoggingEnqueueRequestForOwner) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForOwner) Generic ¶
func (h LoggingEnqueueRequestForOwner) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
Generic implements EventHandler, and emits a log message.
func (LoggingEnqueueRequestForOwner) Update ¶
func (h LoggingEnqueueRequestForOwner) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
Update implements EventHandler, and emits a log message.