controllers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const FinalizerFirewall = "capg-firewall-rule-operator.finalizers.giantswarm.io"

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPClusterClient

type GCPClusterClient interface {
	Get(context.Context, types.NamespacedName) (*capg.GCPCluster, error)
	GetOwner(context.Context, *capg.GCPCluster) (*capi.Cluster, error)
	AddFinalizer(context.Context, *capg.GCPCluster, string) error
	RemoveFinalizer(context.Context, *capg.GCPCluster, string) error
}

type GCPClusterReconciler

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

func NewGCPClusterReconciler

func NewGCPClusterReconciler(
	client GCPClusterClient,
	firewallRuleReconciler *firewall.RuleReconciler,
	securityPolicyReconciler *security.PolicyReconciler,
) *GCPClusterReconciler

func (*GCPClusterReconciler) Reconcile

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

func (*GCPClusterReconciler) SetupWithManager

func (r *GCPClusterReconciler) SetupWithManager(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