nodedns

package
v0.0.0-...-c7dd6ca Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller watches for NodeDNSRecordSet resources and reconciles the described state into reality.

func NewController

func NewController(
	kubeConfig clientcmd.ClientConfig,
	providers *provider.Registry,
	log logrus.FieldLogger,
) (*Controller, error)

NewController creates a new Controller.

func (*Controller) Collect

func (c *Controller) Collect(ch chan<- prometheus.Metric)

Collect implements prometheus.Collector.

func (*Controller) Describe

func (c *Controller) Describe(ch chan<- *prometheus.Desc)

Describe implements prometheus.Collector.

func (*Controller) OnAdd

func (c *Controller) OnAdd(obj interface{}, _ bool)

OnAdd implements the shared informer ResourceEventHandler for NodeDNSRecordSets.

func (*Controller) OnDelete

func (c *Controller) OnDelete(obj interface{})

OnDelete implements the shared informer ResourceEventHandler for NodeDNSRecordSets.

func (*Controller) OnUpdate

func (c *Controller) OnUpdate(_, newObj interface{})

OnUpdate implements the shared informer ResourceEventHandler for NodeDNSRecordSets.

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

Run watches for NodeDNSRecordSets and reconciles their state into reality.

Jump to

Keyboard shortcuts

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