registry

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Registry

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

func New

func New() *Registry

func (*Registry) Remove

func (r *Registry) Remove(stream *ambassadorAPI.Stream)

func (*Registry) SetStatus

func (r *Registry) SetStatus(stream *ambassadorAPI.Stream, status ambassadorAPI.StreamStatus_Status)

func (*Registry) Watch

func (r *Registry) Watch(ctx context.Context, stream *ambassadorAPI.Stream) (types.Watcher, error)

type RegistryWatcher

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

func NewRegistryWatcher

func NewRegistryWatcher(stream *ambassadorAPI.Stream) *RegistryWatcher

func (*RegistryWatcher) IsStopped

func (rw *RegistryWatcher) IsStopped() bool

func (*RegistryWatcher) Notify

func (rw *RegistryWatcher) Notify(streams []*ambassadorAPI.StreamStatus)

func (*RegistryWatcher) ResultChan

func (rw *RegistryWatcher) ResultChan() <-chan []*ambassadorAPI.StreamStatus

func (*RegistryWatcher) Stop

func (rw *RegistryWatcher) Stop()

Jump to

Keyboard shortcuts

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