controllers

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 53 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeHash

func ComputeHash(template *v1alpha1.InstanceTemplate, collisionCount *int32) string

ComputeHash returns a hash value calculated from pod template and a collisionCount to avoid hash collision. The hash will be safe encoded to avoid bad words.

func GetTargetNodeName

func GetTargetNodeName(inst *v1alpha1.Instance) (string, error)

func GetWithAbsenceCache added in v0.3.0

func GetWithAbsenceCache(
	ctx context.Context,
	apiReader client.Reader,
	absenceCache *lru.Cache,
	key client.ObjectKey,
	obj client.Object,
	uid types.UID,
) error

func NewPartialObjectMetadata added in v0.3.0

func NewPartialObjectMetadata(restMapper meta.RESTMapper, gvr schema.GroupVersionResource) (*metav1.PartialObjectMetadata, error)

func ReplaceDaemonSetInstanceNodeNameNodeAffinity

func ReplaceDaemonSetInstanceNodeNameNodeAffinity(affinity *v1alpha1.Affinity, nodeName string) *v1alpha1.Affinity

ReplaceDaemonSetInstanceNodeNameNodeAffinity replaces the RequiredDuringSchedulingIgnoredDuringExecution NodeAffinity of the given affinity with a new NodeAffinity that selects the given nodeName. Note that this function assumes that no NodeAffinity conflicts with the selected nodeName.

Types

type CertificateApprovalReconciler

type CertificateApprovalReconciler struct {
	client.Client

	Recognizers []generic.CertificateSigningRequestRecognizer
}

func (*CertificateApprovalReconciler) Reconcile

func (*CertificateApprovalReconciler) SetupWithManager

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

type DaemonSetReconciler

type DaemonSetReconciler struct {
	client.Client
	Expectations *expectations.Expectations
}

func (*DaemonSetReconciler) Reconcile

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

func (*DaemonSetReconciler) SetupWithManager

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

type IPAddressGCReconciler

type IPAddressGCReconciler struct {
	client.Client
	APIReader   client.Reader
	GracePeriod time.Duration

	AbsenceCache *lru.Cache
}

func (*IPAddressGCReconciler) Reconcile

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

func (*IPAddressGCReconciler) SetupWithManager

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

type IPAddressReconciler added in v0.3.0

type IPAddressReconciler struct {
	client.Client
	APIReader    client.Reader
	AbsenceCache *lru.Cache
}

func (*IPAddressReconciler) Reconcile added in v0.3.0

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

func (*IPAddressReconciler) SetupWithManager added in v0.3.0

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

type LoadBalancerReconciler

type LoadBalancerReconciler struct {
	client.Client
}

func (*LoadBalancerReconciler) Reconcile

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

func (*LoadBalancerReconciler) SetupWithManager

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

type NATGatewayAutoscalerReconciler

type NATGatewayAutoscalerReconciler struct {
	client.Client
}

func (*NATGatewayAutoscalerReconciler) Reconcile

func (*NATGatewayAutoscalerReconciler) SetupWithManager

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

type NATGatewayReconciler

type NATGatewayReconciler struct {
	client.Client
	events.EventRecorder
}

func (*NATGatewayReconciler) Reconcile

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

func (*NATGatewayReconciler) SetupWithManager

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

type NetworkIDGCReconciler

type NetworkIDGCReconciler struct {
	client.Client
	APIReader client.Reader

	AbsenceCache *lru.Cache
}

func (*NetworkIDGCReconciler) Reconcile

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

func (*NetworkIDGCReconciler) SetupWithManager

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

type NetworkInterfaceNATReleaseReconciler

type NetworkInterfaceNATReleaseReconciler struct {
	client.Client
	APIReader client.Reader

	AbsenceCache *lru.Cache
}

func (*NetworkInterfaceNATReleaseReconciler) Reconcile

func (*NetworkInterfaceNATReleaseReconciler) SetupWithManager

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

type NetworkPolicyReconciler

type NetworkPolicyReconciler struct {
	client.Client
}

func (*NetworkPolicyReconciler) Reconcile

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

func (*NetworkPolicyReconciler) SetupWithManager

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

type SchedulerReconciler

type SchedulerReconciler struct {
	client.Client
	events.EventRecorder
	Cache *scheduler.Cache
	// contains filtered or unexported fields
}

func (*SchedulerReconciler) Reconcile

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

func (*SchedulerReconciler) SetupWithManager

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

Directories

Path Synopsis
certificate

Jump to

Keyboard shortcuts

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