controllers

package
v0.0.0-...-6ad9b71 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoutiqueShopReconciler

type BoutiqueShopReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	ExternalAccess ExternalAccess
	RouteAvailable bool
}

BoutiqueShopReconciler reconciles a BoutiqueShop object

func (*BoutiqueShopReconciler) Reconcile

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

func (*BoutiqueShopReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*BoutiqueShopReconciler) WriteManifests

func (r *BoutiqueShopReconciler) WriteManifests(instance *demov1alpha1.BoutiqueShop, out io.Writer) error

WriteManifests generates a yaml manifest for the whole application corresponding to what's defined on the BoutiqueShop instance. The yaml is then written to the provided Writer.

type ExternalAccess

type ExternalAccess string
var (
	ExternalAccessIngress         ExternalAccess = "Ingress"
	ExternalAccessNone            ExternalAccess = "None"
	ExternalAccessRoute           ExternalAccess = "Route"
	ExternalAccessServiceNodePort ExternalAccess = "ServiceNodePort"
)

type NewComponentFn

type NewComponentFn func(context.Context, *demov1alpha1.BoutiqueShop) (*appResource, error)

Jump to

Keyboard shortcuts

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