wlsworkload

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: UPL-1.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
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 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

Jump to

Keyboard shortcuts

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