watcher

package
v0.0.0-...-4f3c1ee Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Ingresses       *v1.IngressList
	TlsCertificates map[string]*tls.Certificate
	IngressLimiters []*limiter.Limiter
}

type Watcher

type Watcher struct {
	Client       kubernetes.Interface
	UpdateServer func(payload Payload)
}

func New

func New(
	client kubernetes.Interface,
	updateServer func(payload Payload),
) *Watcher

func (*Watcher) Run

func (w *Watcher) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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