controllers package

您所在的位置:网站首页 ngrokio controllers package

controllers package

#controllers package| 来源: 网络整理| 查看: 265

type DomainReconciler 露 type DomainReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder DomainsClient *reserved_domains.Client }

DomainReconciler reconciles a Domain object

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile

func (*DomainReconciler) SetupWithManager 露 func (r *DomainReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type HTTPSEdgeReconciler 露 type HTTPSEdgeReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder NgrokClientset ngrokapi.Clientset }

HTTPSEdgeReconciler reconciles a HTTPSEdge object

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile

func (*HTTPSEdgeReconciler) SetupWithManager 露 func (r *HTTPSEdgeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IPPolicyDiff 露 type IPPolicyDiff struct { // contains filtered or unexported fields } type IPPolicyReconciler 露 type IPPolicyReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder IPPoliciesClient *ip_policies.Client IPPolicyRulesClient *ip_policy_rules.Client }

IPPolicyReconciler reconciles a IPPolicy object

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile

func (*IPPolicyReconciler) SetupWithManager 露 func (r *IPPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IngressReconciler 露 type IngressReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder Namespace string AnnotationsExtractor annotations.Extractor Driver *store.Driver }

This implements the Reconciler for the controller-runtime https://pkg.go.dev/sigs.k8s.io/controller-runtime#section-readme

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

This reconcile function is called by the controller-runtime manager. It is invoked whenever there is an event that occurs for a resource being watched (in our case, ingress objects). If you tail the controller logs and delete, update, edit ingress objects, you see the events come in.

func (*IngressReconciler) SetupWithManager 露 func (irec *IngressReconciler) SetupWithManager(mgr ctrl.Manager) error type NonLeaderElectedController 露 type NonLeaderElectedController struct { controller.Controller }

NonLeaderElectedController is a controller wrapper that does not need to be leader elected

func (NonLeaderElectedController) NeedLeaderElection 露 func (c NonLeaderElectedController) NeedLeaderElection() bool

NeedLoeaderElection helps NonLeaderElectedController implement the manager.LeaderElectionRunnable interface.

type OAuthProvider 露 type OAuthProvider interface { ClientSecretKeyRef() *ingressv1alpha1.SecretKeyRef ToNgrok(*string) *ngrok.EndpointOAuth } type TCPEdgeReconciler 露 type TCPEdgeReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder NgrokClientset ngrokapi.Clientset // contains filtered or unexported fields }

TCPEdgeReconciler reconciles a TCPEdge object

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile

func (*TCPEdgeReconciler) SetupWithManager 露 func (r *TCPEdgeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TunnelReconciler 露 type TunnelReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder TunnelDriver *tunneldriver.TunnelDriver }

TunnelReconciler reconciles a Tunnel object

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/reconcile

func (*TunnelReconciler) SetupWithManager 露 func (r *TunnelReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3