Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcileForwarder ¶
type ReconcileForwarder struct { // This Client, initialized using mgr.Client() above, is a split Client // that reads objects from the cache and writes to the apiserver Client client.Client // Reader is an initialized client.Reader that reads objects directly from the apiserver // instead of the cache. Useful for cases where need to read/write to a namespace other than // the deployed namespace (e.g. openshift-config-managed) Reader client.Reader Scheme *runtime.Scheme Recorder record.EventRecorder //ClusterVersion is the semantic version of the cluster ClusterVersion string //ClusterID is the unique identifier of the cluster in which the operator is deployed ClusterID string }
ReconcileForwarder reconciles a ClusterLogForwarder object
func (*ReconcileForwarder) Reconcile ¶
func (r *ReconcileForwarder) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a ClusterLogForwarder object and makes changes based on the state read and what is in the Logging.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ReconcileForwarder) SetupWithManager ¶
func (r *ReconcileForwarder) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.