ccm

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GatewayControllerName = "gateway-controller"
	GatewayClassName      = "kubelb"
	ParentGatewayName     = "kubelb"
)
View Source
const (
	IngressControllerName = "ingress-controller"
	IngressClassName      = "kubelb"
)
View Source
const (
	LBFinalizerName       = "kubelb.k8c.io/lb-finalizer"
	LoadBalancerClassName = "kubelb"
)
View Source
const (
	CleanupFinalizer = "kubelb.k8c.io/cleanup"
)
View Source
const (
	GatewayGRPCRouteControllerName = "gateway-grpcroute-controller"
)
View Source
const (
	GatewayHTTPRouteControllerName = "gateway-httproute-controller"
)
View Source
const (
	SecretConversionControllerName = "secret-conversion-controller"
)
View Source
const (
	SyncSecretControllerName = "sync-secret-controller"
)

Variables

This section is empty.

Functions

func CreateOrUpdateSyncSecret

func CreateOrUpdateSyncSecret(ctx context.Context, client ctrlclient.Client, obj *kubelbv1alpha1.SyncSecret) error

Types

type GRPCRouteReconciler

type GRPCRouteReconciler struct {
	ctrlclient.Client

	LBManager   ctrl.Manager
	ClusterName string

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

GRPCRouteReconciler reconciles an GRPCRoute Object

func (*GRPCRouteReconciler) Reconcile

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

func (*GRPCRouteReconciler) SetupWithManager

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

type GatewayReconciler

type GatewayReconciler struct {
	ctrlclient.Client

	LBManager       ctrl.Manager
	ClusterName     string
	UseGatewayClass bool

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

GatewayReconciler reconciles a Gateway Object

func (*GatewayReconciler) Reconcile

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

func (*GatewayReconciler) SetupWithManager

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

type HTTPRouteReconciler

type HTTPRouteReconciler struct {
	ctrlclient.Client

	LBManager   ctrl.Manager
	ClusterName string

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

HTTPRouteReconciler reconciles an HTTPRoute Object

func (*HTTPRouteReconciler) Reconcile

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

func (*HTTPRouteReconciler) SetupWithManager

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

type IngressReconciler

type IngressReconciler struct {
	ctrlclient.Client

	LBManager       ctrl.Manager
	ClusterName     string
	UseIngressClass bool

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

IngressReconciler reconciles an Ingress Object

func (*IngressReconciler) Reconcile

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

func (*IngressReconciler) SetupWithManager

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

type KubeLBNodeReconciler

type KubeLBNodeReconciler struct {
	ctrlclient.Client

	KubeLBClient        ctrlclient.Client
	ClusterName         string
	Log                 logr.Logger
	Scheme              *runtime.Scheme
	EndpointAddressType corev1.NodeAddressType
}

KubeLBNodeReconciler reconciles a Service object

func (*KubeLBNodeReconciler) GenerateAddresses

func (r *KubeLBNodeReconciler) GenerateAddresses(nodes *corev1.NodeList) *kubelbiov1alpha1.Addresses

func (*KubeLBNodeReconciler) Reconcile

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

func (*KubeLBNodeReconciler) SetupWithManager

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

type KubeLBServiceReconciler

type KubeLBServiceReconciler struct {
	ctrlclient.Client

	KubeLBManager        ctrl.Manager
	Log                  logr.Logger
	Scheme               *runtime.Scheme
	ClusterName          string
	CloudController      bool
	UseLoadbalancerClass bool
}

KubeLBServiceReconciler reconciles a Service object

func (*KubeLBServiceReconciler) Reconcile

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

func (*KubeLBServiceReconciler) SetupWithManager

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

type SecretConversionReconciler

type SecretConversionReconciler struct {
	ctrlclient.Client

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

SecretConversionReconciler reconciles an Ingress Object

func (*SecretConversionReconciler) Reconcile

func (*SecretConversionReconciler) SetupWithManager

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

type SyncSecretReconciler

type SyncSecretReconciler struct {
	ctrlclient.Client

	LBClient    ctrlclient.Client
	ClusterName string

	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

SyncSecretReconciler reconciles an Ingress Object

func (*SyncSecretReconciler) Reconcile

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

func (*SyncSecretReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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