serviceexport

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubClientProvider

type HubClientProvider interface {
	UpdateServiceExport(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
	UpdateServiceExportEndpointForIngressGw(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport, ep *kubeslicev1beta1.ServicePod) error
	DeleteServiceExport(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
}

type Reconciler

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

Reconciler reconciles serviceexport resource

func (*Reconciler) DeleteIstioResources

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

func (*Reconciler) DeleteIstioServiceEntries

func (r *Reconciler) DeleteIstioServiceEntries(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error

func (*Reconciler) DeleteIstioVirtualServices

func (r *Reconciler) DeleteIstioVirtualServices(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error

func (*Reconciler) DeleteServiceExportResources

func (r *Reconciler) DeleteServiceExportResources(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error

func (*Reconciler) GetServiceExport

func (r *Reconciler) GetServiceExport(ctx context.Context, req ctrl.Request, log *logr.Logger) (*kubeslicev1beta1.ServiceExport, error)

func (Reconciler) Reconcile

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

Reconcile reconciles serviceexport

func (*Reconciler) ReconcileAliases

func (r *Reconciler) ReconcileAliases(
	ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

ReconcileAliases reconciles serviceexport aliases

func (*Reconciler) ReconcileAppPod

func (r *Reconciler) ReconcileAppPod(
	ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

ReconcileAppPod reconciles serviceexport app pods

func (*Reconciler) ReconcileIngressGwPod

func (r *Reconciler) ReconcileIngressGwPod(
	ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileIstio

func (r *Reconciler) ReconcileIstio(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileServiceEntries

func (r *Reconciler) ReconcileServiceEntries(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

func (*Reconciler) ReconcileVirtualService

func (r *Reconciler) ReconcileVirtualService(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

func (*Reconciler) Setup

func (r *Reconciler) Setup(mgr ctrl.Manager, mf metrics.MetricsFactory) error

Setup ServiceExport Reconciler Initializes metrics and sets up with manager

func (*Reconciler) SetupWithManager

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

SetupWithManager setus up reconciler with manager

func (*Reconciler) SyncSvcExportStatus

func (r *Reconciler) SyncSvcExportStatus(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)

Jump to

Keyboard shortcuts

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