Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDynatraceClient ¶
func BuildDynatraceClient(properties DynatraceClientProperties) (dtclient.Client, error)
BuildDynatraceClient creates a new Dynatrace client using the settings configured on the given instance.
Types ¶
type DynatraceClientFunc ¶
type DynatraceClientFunc func(properties DynatraceClientProperties) (dtclient.Client, error)
func StaticDynatraceClient ¶
func StaticDynatraceClient(c dtclient.Client) DynatraceClientFunc
StaticDynatraceClient creates a DynatraceClientFunc always returning c.
type DynatraceClientProperties ¶
type DynatraceClientProperties struct { ApiReader client.Reader Secret *corev1.Secret Proxy *DynatraceClientProxy ApiUrl string Namespace string NetworkZone string TrustedCerts string SkipCertCheck bool DisableHostRequests bool }
func NewDynatraceClientProperties ¶
func NewDynatraceClientProperties(ctx context.Context, apiReader client.Reader, dk dynatracev1beta1.DynaKube) (*DynatraceClientProperties, error)
type DynatraceClientProxy ¶
type DynatraceClientReconciler ¶
type ReconcileDynaKube ¶
type ReconcileDynaKube struct {
// contains filtered or unexported fields
}
ReconcileDynaKube reconciles a DynaKube object
func NewDynaKubeReconciler ¶
func NewReconciler ¶
func NewReconciler(mgr manager.Manager) *ReconcileDynaKube
NewReconciler returns a new ReconcileDynaKube
func (*ReconcileDynaKube) Reconcile ¶
func (r *ReconcileDynaKube) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a DynaKube object and makes changes based on the state read and what is in the DynaKube.Spec a Pod as an example Note: 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 (*ReconcileDynaKube) SetupWithManager ¶
func (r *ReconcileDynaKube) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.