k8s

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider is a Kubernetes mDNS service provider.

func New

func New(log *logger.Logger) (*Provider, error)

New returns a Kubernetes mDNS service provider.

func NewWithClient

func NewWithClient(clientSet kubernetes.Interface, log *logger.Logger) *Provider

NewWithClient returns a provider with the given clientset.

func (*Provider) Run

func (p *Provider) Run(ctx context.Context) (<-chan *provider.Event, error)

Run runs the provider returning the event channel.

Jump to

Keyboard shortcuts

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