controllers

package
v0.0.0-...-532179e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreIsNotFound

func IgnoreIsNotFound(err error) error

Types

type ApplicationReconciler

type ApplicationReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ApplicationReconciler reconciles an Application object

func (*ApplicationReconciler) GetApplication

func (r *ApplicationReconciler) GetApplication(ctx context.Context, request ctrl.Request) (*debotops.Application, error)

func (*ApplicationReconciler) GetDeployment

func (r *ApplicationReconciler) GetDeployment(ctx context.Context, request ctrl.Request) (*appsv1.Deployment, error)

func (*ApplicationReconciler) GetService

func (r *ApplicationReconciler) GetService(ctx context.Context, request ctrl.Request) (*corev1.Service, error)

func (*ApplicationReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ApplicationReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ListenerReconciler

type ListenerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ListenerReconciler reconciles a Listener object

func (*ListenerReconciler) GetGateway

func (r *ListenerReconciler) GetGateway(ctx context.Context, request ctrl.Request) (*istioclient.Gateway, error)

func (*ListenerReconciler) GetListener

func (r *ListenerReconciler) GetListener(ctx context.Context, request ctrl.Request) (*debotops.Listener, error)

func (*ListenerReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ListenerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MappingReconciler

type MappingReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

MappingReconciler reconciles a Mapping object

func (*MappingReconciler) GetApplication

func (r *MappingReconciler) GetApplication(ctx context.Context, mapping *debotops.Mapping) (*debotops.Application, error)

func (*MappingReconciler) GetMapping

func (r *MappingReconciler) GetMapping(ctx context.Context, request ctrl.Request) (*debotops.Mapping, error)

func (*MappingReconciler) GetVirtualService

func (r *MappingReconciler) GetVirtualService(ctx context.Context, request ctrl.Request) (*istioclient.VirtualService, error)

func (*MappingReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*MappingReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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