Documentation ¶
Index ¶
- type HubClientProvider
- type Reconciler
- func (r *Reconciler) DeleteIstioResources(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport, ...) error
- func (r *Reconciler) DeleteIstioServiceEntries(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (r *Reconciler) DeleteIstioVirtualServices(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (r *Reconciler) DeleteServiceExportResources(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) error
- func (r Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *Reconciler) ReconcileAppPod(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)
- func (r *Reconciler) ReconcileIstio(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)
- func (r *Reconciler) ReconcileServiceEntries(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)
- func (r *Reconciler) ReconcileVirtualService(ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)
- func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
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 }
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) ReconcileAppPod ¶
func (r *Reconciler) ReconcileAppPod( ctx context.Context, serviceexport *kubeslicev1beta1.ServiceExport) (ctrl.Result, error, bool)
ReconcileAppPod reconciles serviceexport app pods
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) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setus up reconciler with manager
Click to show internal directories.
Click to hide internal directories.