controllers

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FinalizerMembership  = "fleet-membership-operator-gcp.giantswarm.io/finalizer"
	SuffixMembershipName = "workload-identity"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPClusterReconciler

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

GCPClusterReconciler reconciles a GCPCluster object

func NewGCPClusterReconciler

func NewGCPClusterReconciler(membershipSecretNamespace string, runtimeClient client.Client, membershipClient GKEMembershipClient) *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.

type GKEMembershipClient

type GKEMembershipClient interface {
	Register(ctx context.Context, cluster *capg.GCPCluster, jwks []byte) (types.MembershipData, error)
	Unregister(ctx context.Context, cluster *capg.GCPCluster) 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