file

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	// Events record events used to update ResourcesStore,
	// which only include two types of events: Write/Remove.
	Events chan fsnotify.Event
	// contains filtered or unexported fields
}

func NewNotifier

func NewNotifier(logger logr.Logger) (*Notifier, error)

func (*Notifier) Close

func (n *Notifier) Close() error

func (*Notifier) Watch

func (n *Notifier) Watch(ctx context.Context, dirs, files sets.Set[string])

type Provider

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

func New

func New(svr *config.Server, resources *message.ProviderResources) (*Provider, error)

func (*Provider) Start

func (p *Provider) Start(ctx context.Context) error

func (*Provider) Type

func (p *Provider) Type() egv1a1.ProviderType

Jump to

Keyboard shortcuts

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