serviceimport

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package serviceimport features the serviceimport controller to resolve the service spec when exporting multi-cluster services.

Index

Constants

View Source
const (

	// ControllerName is the name of the Reconciler.
	ControllerName = "serviceimport-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Recorder record.EventRecorder
}

Reconciler reconciles a ServiceImport object.

func (*Reconciler) Reconcile

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

Reconcile resolves the service spec when the serviceImport status is empty and updates the status of internalServiceExports.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, 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