Documentation ¶
Index ¶
Constants ¶
const ( Never = "NEVER" IfNeeded = "IF_NEEDED" WDTConfigMapNameSuffix = "-wdt-config-map" )
const WlsFluentdParsingRules = `` /* 2707-byte string literal not displayed */
WlsFluentdParsingRules defines the FLUENTD parsing rules for WLS
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme Metrics *metricstrait.Reconciler }
Reconciler reconciles a VerrazzanoWebLogicWorkload object
func (*Reconciler) CreateOrUpdateWDTConfigMap ¶ added in v1.1.0
func (r *Reconciler) CreateOrUpdateWDTConfigMap(ctx context.Context, log vzlog.VerrazzanoLogger, namespaceName string, u *unstructured.Unstructured, workloadLabels map[string]string) error
CreateOrUpdateWDTConfigMap creates a default WDT config map with WeblogicPluginEnabled setting if the WDT config map is not specified in the WebLogic spec. Otherwise it updates the specified WDT config map with WeblogicPluginEnabled setting if not already done.
func (*Reconciler) Reconcile ¶
Reconcile reconciles a VerrazzanoWebLogicWorkload resource. It fetches the embedded WebLogic CR, mutates it to add scopes and traits, and then writes out the CR (or deletes it if the workload is being deleted). +kubebuilder:rbac:groups=oam.verrazzano.io,resources=verrazzanoweblogicworkloads,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=oam.verrazzano.io,resources=verrazzanoweblogicworkloads/status,verbs=get;update;patch
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers our controller with the manager