fullstate

package
v0.0.0-...-edb81cd Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback func(item <-chan *ServiceEndpoints)

func ArrayCallback

func ArrayCallback(callback func([]*ServiceEndpoints)) Callback

ArrayCallback wraps a array callback

type ServiceEndpoints

type ServiceEndpoints struct {
	Service   *localv1.Service
	Endpoints []*localv1.Endpoint
}

type Setup

type Setup func()

type Sink

type Sink struct {
	Config    *localsink.Config
	Callback  Callback
	SetupFunc Setup
	// contains filtered or unexported fields
}

func New

func New(config *localsink.Config) *Sink

func (*Sink) Reset

func (s *Sink) Reset()

func (*Sink) Send

func (s *Sink) Send(op *localv1.OpItem) (err error)

func (*Sink) Setup

func (s *Sink) Setup()

func (*Sink) WaitRequest

func (s *Sink) WaitRequest() (nodeName string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳