ibpconsole

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, config *config.Config) error

Add creates a new IBPPeer Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileIBPConsole

type ReconcileIBPConsole struct {
	Offering consoleReconcile
	Config   *config.Config
	// contains filtered or unexported fields
}

ReconcileIBPConsole reconciles a IBPConsole object

func (*ReconcileIBPConsole) ConsoleCMUpdated

func (r *ReconcileIBPConsole) ConsoleCMUpdated(old, new current.IBPConsoleSpec) bool

func (*ReconcileIBPConsole) CreateFunc

func (r *ReconcileIBPConsole) CreateFunc(e event.CreateEvent) bool

func (*ReconcileIBPConsole) DeployerCMUpdated

func (r *ReconcileIBPConsole) DeployerCMUpdated(old, new current.IBPConsoleSpec) bool

func (*ReconcileIBPConsole) EnvCMUpdated

func (r *ReconcileIBPConsole) EnvCMUpdated(old, new current.IBPConsoleSpec) bool

func (*ReconcileIBPConsole) GetPodStatus

func (r *ReconcileIBPConsole) GetPodStatus(instance *current.IBPConsole) (bool, error)

func (*ReconcileIBPConsole) GetSpecState

func (r *ReconcileIBPConsole) GetSpecState(instance *current.IBPConsole) (*corev1.ConfigMap, error)

func (*ReconcileIBPConsole) Reconcile

func (r *ReconcileIBPConsole) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a IBPConsole object and makes changes based on the state read and what is in the IBPConsole.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ReconcileIBPConsole) SaveSpecState

func (r *ReconcileIBPConsole) SaveSpecState(instance *current.IBPConsole) error

func (*ReconcileIBPConsole) SetStatus

func (r *ReconcileIBPConsole) SetStatus(instance *current.IBPConsole, reconcileErr error) error

func (*ReconcileIBPConsole) SetupWithManager

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

func (*ReconcileIBPConsole) UpdateFunc

func (r *ReconcileIBPConsole) UpdateFunc(e event.UpdateEvent) bool

type Update

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

func (*Update) ConsoleCMUpdated

func (u *Update) ConsoleCMUpdated() bool

func (*Update) DeployerCMUpdated

func (u *Update) DeployerCMUpdated() bool

func (*Update) EnvCMUpdated

func (u *Update) EnvCMUpdated() bool

func (*Update) GetUpdateStackWithTrues

func (u *Update) GetUpdateStackWithTrues() string

func (*Update) RestartNeeded

func (u *Update) RestartNeeded() bool

func (*Update) SpecUpdated

func (u *Update) SpecUpdated() bool

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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