Documentation ¶
Index ¶
Constants ¶
const ( Never = "Never" NeverV8 = "NEVER" IfNeeded = "IfNeeded" IfNeededV8 = "IF_NEEDED" WDTConfigMapNameSuffix = "-wdt-config-map" DomainKind = "Domain" ClusterKind = "Cluster" APIVersionV8 = "weblogic.oracle/v8" APIVersionV9 = "weblogic.oracle/v9" APIVersionV1 = "weblogic.oracle/v1" )
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 Domain 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