application

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateAppConfig added in v0.3.0

func CreateOrUpdateAppConfig(ctx context.Context, client client.Client, appConfig *v1alpha2.ApplicationConfiguration) error

CreateOrUpdateAppConfig will create if not exist and update if exists.

func CreateOrUpdateComponent added in v0.3.0

func CreateOrUpdateComponent(ctx context.Context, client client.Client, comp *v1alpha2.Component) error

CreateOrUpdateComponent will create if not exist and update if exists.

func Setup

func Setup(mgr ctrl.Manager, _ core.Args, _ logging.Logger) error

Setup adds a controller that reconciles ApplicationDeployment.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

Reconciler reconciles a Application object

func (*Reconciler) Reconcile

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

Reconcile process app event

func (*Reconciler) SetupWithManager

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

SetupWithManager install to manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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