traffic

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateService

type CertificateService interface {
	EnsureCertificate(ctx context.Context, host string, owner metav1.Object) error
	GetCertificateSecret(ctx context.Context, host string) (*v1.Secret, error)
}

type HostService

type HostService interface {
	EnsureManagedHost(ctx context.Context, t traffic.Interface) ([]string, []*kuadrantv1.DNSRecord, error)
	AddEndPoints(ctx context.Context, t traffic.Interface) error
	RemoveEndpoints(ctx context.Context, t traffic.Interface) error
}

type Reconciler

type Reconciler struct {
	WorkloadClient client.Client
	Hosts          HostService
	Certificates   CertificateService
}

Reconciler reconciles a traffic object

func (*Reconciler) Handle

func (r *Reconciler) Handle(ctx context.Context, o runtime.Object) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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