clustermesh

package
v0.8.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupLabel       = "clusterGroup"
	EnableAnnotation = "clustermesh.infrastructure.wildlife.io"
)

Variables

This section is empty.

Functions

func ReconcilePeerings

func ReconcilePeerings(r *ClusterMeshReconciliation, ctx context.Context, currentCluster *clustermeshv1alpha1.ClusterSpec) error

Types

type ClusterMeshReconciler

type ClusterMeshReconciler struct {
	client.Client
	Scheme                         *runtime.Scheme
	NewEC2ClientFactory            func(cfg aws.Config) ec2.EC2Client
	PopulateClusterSpecFactory     func(r *ClusterMeshReconciliation, ctx context.Context, cluster *clusterv1beta1.Cluster) (*clustermeshv1alpha1.ClusterSpec, error)
	ReconcilePeeringsFactory       func(r *ClusterMeshReconciliation, ctx context.Context, cluster *clustermeshv1alpha1.ClusterSpec) error
	ReconcileSecurityGroupsFactory func(r *ClusterMeshReconciliation, ctx context.Context, cluster *clustermeshv1alpha1.ClusterSpec) error
	ReconcileRoutesFactory         func(r *ClusterMeshReconciliation, ctx context.Context, cluster *clustermeshv1alpha1.ClusterSpec) (ctrl.Result, error)
}

ClusterMeshReconciler reconciles a ClusterMesh object

func DefaultReconciler

func DefaultReconciler(mgr manager.Manager) *ClusterMeshReconciler

func (*ClusterMeshReconciler) Reconcile

func (c *ClusterMeshReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ClusterMeshReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterMeshReconciliation

type ClusterMeshReconciliation struct {
	ClusterMeshReconciler
	// contains filtered or unexported fields
}

func (*ClusterMeshReconciliation) Reconcile

Jump to

Keyboard shortcuts

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