controllers

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FinalizerNetTop = "network-topology.finalizers.giantswarm.io"
)
View Source
const FinalizerResourceShare = "network-topology.finalizers.giantswarm.io/share"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterClient

type ClusterClient interface {
	Get(context.Context, types.NamespacedName) (*capi.Cluster, error)
	AddFinalizer(context.Context, *capi.Cluster, string) error
	RemoveFinalizer(context.Context, *capi.Cluster, string) error
	ContainsFinalizer(*capi.Cluster, string) bool
	UpdateStatus(ctx context.Context, cluster *capi.Cluster) error
	GetAWSClusterRoleIdentity(context.Context, types.NamespacedName) (*capa.AWSClusterRoleIdentity, error)
}

type NetworkTopologyReconciler

type NetworkTopologyReconciler struct {
	// contains filtered or unexported fields
}

func NewNetworkTopologyReconciler

func NewNetworkTopologyReconciler(client ClusterClient, registrars []Registrar) *NetworkTopologyReconciler

func (*NetworkTopologyReconciler) Reconcile

func (*NetworkTopologyReconciler) SetupWithManager

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

type RAMClient added in v1.5.0

type RAMClient interface {
	ApplyResourceShare(context.Context, aws.ResourceShare) error
	DeleteResourceShare(context.Context, string) error
}

type Registrar

type Registrar interface {
	Register(context.Context, *capi.Cluster) error
	Unregister(context.Context, *capi.Cluster) error
}

type ShareReconciler added in v1.5.0

type ShareReconciler struct {
	// contains filtered or unexported fields
}

func NewShareReconciler added in v1.5.0

func NewShareReconciler(clusterClient ClusterClient, ramClient RAMClient) *ShareReconciler

func (*ShareReconciler) Reconcile added in v1.5.0

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

func (*ShareReconciler) SetupWithManager added in v1.5.0

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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