serviceimport

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package serviceimport features the serviceimport controller deployed in member cluster to managed internalserviceimport according to its corresponding serviceimport.

Index

Constants

View Source
const (
	ServiceImportFinalizer = "networking.fleet.azure.com/serviceimport-cleanup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	MemberClusterID string

	// The namespace reserved for the current member cluster in the hub cluster.
	HubNamespace string

	HubClient    client.Client
	MemberClient client.Client
}

Reconciler reconciles a InternalServceImport object.

func (*Reconciler) Reconcile

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

Reconcile in member cluster creates hub cluster internal service import out of member cluster service import.

func (*Reconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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