fds

package
v0.0.0-...-f43927d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportedServicesGenerator

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

func NewExportedServicesGenerator

func NewExportedServicesGenerator(cfg config.Federation, serviceLister v1.ServiceLister) *ExportedServicesGenerator

func (*ExportedServicesGenerator) GenerateResponse

func (g *ExportedServicesGenerator) GenerateResponse() ([]*anypb.Any, error)

func (*ExportedServicesGenerator) GetTypeUrl

func (g *ExportedServicesGenerator) GetTypeUrl() string

type ImportedServiceHandler

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

func NewImportedServiceHandler

func NewImportedServiceHandler(store *ImportedServiceStore, pushRequests chan<- xds.PushRequest) *ImportedServiceHandler

func (*ImportedServiceHandler) Handle

func (h *ImportedServiceHandler) Handle(source string, resources []*anypb.Any) error

type ImportedServiceStore

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

ImportedServiceStore is a thread-safe wrapper for current state of imported services

func NewImportedServiceStore

func NewImportedServiceStore() *ImportedServiceStore

func (*ImportedServiceStore) From

From returns copy of all services exported from given remote peer.

func (*ImportedServiceStore) Update

func (s *ImportedServiceStore) Update(importedServices map[string][]*v1alpha1.ExportedService)

Jump to

Keyboard shortcuts

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