tailscale

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	ResolverName string
	// contains filtered or unexported fields
}

Provider is the Tailscale certificates provider implementation. It receives configuration updates (e.g. new router, with new domain) from Traefik core, fetches the corresponding TLS certificates from the Tailscale daemon, and sends back to Traefik core a configuration updated with the certificates.

func (*Provider) HandleConfigUpdate

func (p *Provider) HandleConfigUpdate(cfg dynamic.Configuration)

HandleConfigUpdate hands out a configuration update to the provider.

func (*Provider) Init

func (p *Provider) Init() error

Init implements the provider.Provider interface.

func (*Provider) Provide

func (p *Provider) Provide(dynMessages chan<- dynamic.Message, pool *safe.Pool) error

Provide starts the provider, which will henceforth send configuration updates on dynMessages.

func (*Provider) ThrottleDuration

func (p *Provider) ThrottleDuration() time.Duration

ThrottleDuration implements the aggregator.throttled interface, in order to ensure that this provider is unthrottled.

Jump to

Keyboard shortcuts

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