Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new OpenTelemetryCollector Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func ServiceAccountNameFor ¶ added in v0.2.0
ServiceAccountNameFor returns the name of the service account for the given context
Types ¶
type ReconcileOpenTelemetryCollector ¶
type ReconcileOpenTelemetryCollector struct {
// contains filtered or unexported fields
}
ReconcileOpenTelemetryCollector reconciles a OpenTelemetryCollector object
func New ¶
func New(scheme *runtime.Scheme, clientset *client.Clientset) *ReconcileOpenTelemetryCollector
New constructs a ReconcileOpenTelemetryCollector based on the client and scheme, with the default reconciliation functions
func WithManager ¶ added in v0.2.0
func WithManager(manager manager.Manager) (*ReconcileOpenTelemetryCollector, error)
WithManager creates a new reconciler based on the manager information
func (*ReconcileOpenTelemetryCollector) Reconcile ¶
func (r *ReconcileOpenTelemetryCollector) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a OpenTelemetryCollector object and makes changes based on the state read and what is in the OpenTelemetryCollector.Spec