wlsworkload

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: UPL-1.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Never    = "NEVER"
	IfNeeded = "IF_NEEDED"

	WDTConfigMapNameSuffix = "-wdt-config-map"
)
View Source
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

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL