domainverification

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: 18 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 {
	*basereconciler.Controller

	KCPKubeClient kubernetes.ClusterInterface
	KubeClient    kubernetes.Interface
	// contains filtered or unexported fields
}

func NewController

func NewController(config *ControllerConfig) (*Controller, error)

NewController returns a new Controller which reconciles DomainValidation.

type ControllerConfig

type ControllerConfig struct {
	*basereconciler.ControllerConfig
	KCPKubeClient            kubernetes.ClusterInterface
	KubeClient               *kubernetes.Clientset
	DomainVerificationClient kuadrantv1.ClusterInterface
	SharedInformerFactory    externalversions.SharedInformerFactory
	DNSVerifier              DNSVerifier
	GLBCWorkspace            logicalcluster.Name
}

type DNSVerifier

type DNSVerifier interface {
	TxtRecordExists(ctx context.Context, domain string, value string) (bool, error)
}

type SafeDNSVerifier

type SafeDNSVerifier struct {
	DNSVerifier
	// contains filtered or unexported fields
}

func NewSafeDNSVerifier

func NewSafeDNSVerifier(inner DNSVerifier) *SafeDNSVerifier

func (*SafeDNSVerifier) TxtRecordExists

func (r *SafeDNSVerifier) TxtRecordExists(ctx context.Context, domain string, value string) (bool, error)

Jump to

Keyboard shortcuts

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