Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) CreateOrUpdateWDTConfigMap(ctx context.Context, log vzlog.VerrazzanoLogger, namespaceName string, ...) error
- func (r *Reconciler) GetConfigMapLocation(u *unstructured.Unstructured) ([]string, error)
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
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) GetConfigMapLocation ¶ added in v1.6.7
func (r *Reconciler) GetConfigMapLocation(u *unstructured.Unstructured) ([]string, error)
GetConfigMapLocation gets the location of the configmap in the model.
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