banner

package
v0.0.0-...-ed9f9c9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BannerName = "openshift-aro-sre"
	//Banner messages are approved by PM, don't modify the messages without re-approval
	TextContactSupport = "" /* 138-byte string literal not displayed */
)
View Source
const (
	ControllerName = "Banner"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

BannerReconciler is the controller struct

func NewReconciler

func NewReconciler(log *logrus.Entry, client client.Client) *Reconciler

NewReconciler creates a new Reconciler

func (*Reconciler) Reconcile

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

Reconcile posts or removes the notification banner

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates the controller

Jump to

Keyboard shortcuts

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