route

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostMatches

func HostMatches(host, domain string) bool

func InitMetrics

func InitMetrics()

Types

type Controller

type Controller struct {
	*basereconciler.Controller

	KCPInformerFactory kuadrantInformer.SharedInformerFactory
	// contains filtered or unexported fields
}

func NewController

func NewController(config *ControllerConfig) *Controller

NewController returns a new Controller which reconciles Routes.

type ControllerConfig

type ControllerConfig struct {
	*basereconciler.ControllerConfig
	KCPKubeClient     kubernetes.ClusterInterface
	KubeClient        kubernetes.Interface
	KubeDynamicClient dynamic.ClusterInterface
	DnsRecordClient   kuadrantclientv1.ClusterInterface
	// informer for
	KCPSharedInformerFactory        informers.SharedInformerFactory
	KCPDynamicSharedInformerFactory dynamicinformer.DynamicSharedInformerFactory
	CertificateInformer             certmaninformer.SharedInformerFactory
	GlbcInformerFactory             informers.SharedInformerFactory
	KCPInformer                     kuadrantInformer.SharedInformerFactory
	Domain                          string
	CertProvider                    tls.Provider
	HostResolver                    dns.HostResolver
	GLBCWorkspace                   logicalcluster.Name
}

Jump to

Keyboard shortcuts

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