serviceimport

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 Reconciler

type Reconciler struct {
	client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	ClusterID     string
	EventRecorder *events.EventRecorder
}

Reconciler reconciles a ServiceImport object

func NewReconciler added in v0.2.4

func NewReconciler(c client.Client, s *runtime.Scheme, clusterId string) Reconciler

NewReconciler creates a new reconciler for serviceimport

func (*Reconciler) DeleteIstioResources

func (r *Reconciler) DeleteIstioResources(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport, slice *kubeslicev1beta1.Slice) error

func (*Reconciler) DeleteIstioServiceEntries

func (r *Reconciler) DeleteIstioServiceEntries(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) error

func (*Reconciler) DeleteIstioVirtualServicesEgress

func (r *Reconciler) DeleteIstioVirtualServicesEgress(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) error

func (*Reconciler) DeleteServiceImportResources

func (r *Reconciler) DeleteServiceImportResources(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) error

func (*Reconciler) Reconcile

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

Reconcile reconciles serviceimport CR

func (*Reconciler) ReconcileService

func (r *Reconciler) ReconcileService(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileServiceEntries

func (r *Reconciler) ReconcileServiceEntries(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport, ns string) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileVirtualServiceEgress

func (r *Reconciler) ReconcileVirtualServiceEgress(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileVirtualServiceNonEgress

func (r *Reconciler) ReconcileVirtualServiceNonEgress(ctx context.Context, serviceimport *kubeslicev1beta1.ServiceImport) (ctrl.Result, error, bool)

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up reconciler with manager

Jump to

Keyboard shortcuts

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