Documentation ¶
Index ¶
- func ComputeHash(template *v1alpha1.InstanceTemplate, collisionCount *int32) string
- func GetTargetNodeName(inst *v1alpha1.Instance) (string, error)
- func ReplaceDaemonSetInstanceNodeNameNodeAffinity(affinity *v1alpha1.Affinity, nodeName string) *v1alpha1.Affinity
- type CertificateApprovalReconciler
- type DaemonSetReconciler
- type IPAddressGCReconciler
- type LoadBalancerReconciler
- type NATGatewayAutoscalerReconciler
- type NATGatewayReconciler
- type NetworkIDGCReconciler
- type NetworkInterfaceNATReleaseReconciler
- type NetworkPolicyReconciler
- type SchedulerReconciler
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 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) SetupWithManager ¶
func (r *CertificateApprovalReconciler) SetupWithManager(mgr ctrl.Manager) error
type DaemonSetReconciler ¶
type DaemonSetReconciler struct { client.Client Expectations *expectations.Expectations }
func (*DaemonSetReconciler) SetupWithManager ¶
func (r *DaemonSetReconciler) SetupWithManager(mgr ctrl.Manager) error
type IPAddressGCReconciler ¶
func (*IPAddressGCReconciler) SetupWithManager ¶
func (r *IPAddressGCReconciler) SetupWithManager(mgr ctrl.Manager) error
type LoadBalancerReconciler ¶
func (*LoadBalancerReconciler) SetupWithManager ¶
func (r *LoadBalancerReconciler) SetupWithManager(mgr ctrl.Manager) error
type NATGatewayAutoscalerReconciler ¶
func (*NATGatewayAutoscalerReconciler) SetupWithManager ¶
func (r *NATGatewayAutoscalerReconciler) SetupWithManager(mgr ctrl.Manager) error
type NATGatewayReconciler ¶
type NATGatewayReconciler struct { client.Client record.EventRecorder }
func (*NATGatewayReconciler) SetupWithManager ¶
func (r *NATGatewayReconciler) SetupWithManager(mgr ctrl.Manager) error
type NetworkIDGCReconciler ¶
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) SetupWithManager ¶
func (r *NetworkInterfaceNATReleaseReconciler) SetupWithManager(mgr ctrl.Manager) error
type NetworkPolicyReconciler ¶
func (*NetworkPolicyReconciler) SetupWithManager ¶
func (r *NetworkPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
type SchedulerReconciler ¶
type SchedulerReconciler struct { client.Client record.EventRecorder Cache *scheduler.Cache // contains filtered or unexported fields }
func (*SchedulerReconciler) SetupWithManager ¶
func (r *SchedulerReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
- certificateapproval_controller.go
- daemonset_controller.go
- helper.go
- ipaddressgc_controller.go
- loadbalancer_controller.go
- natgateway_controller.go
- natgatewayautoscaler_controller.go
- networkidgc_controller.go
- networkinterfacenatrelease_controller.go
- networkpolicy_controller.go
- scheduler_controller.go
- util.go
Click to show internal directories.
Click to hide internal directories.