eds

package
v0.0.0-...-4b75dde Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package eds implements Envoy's Endpoint Discovery Service (EDS).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointsBuilder

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

EndpointsBuilder is a helper struct to build Envoy endpoint resources

func NewEndpointsBuilder

func NewEndpointsBuilder() *EndpointsBuilder

NewEndpointsBuilder creates a new EndpointsBuilder

func (*EndpointsBuilder) AddEndpoints

func (b *EndpointsBuilder) AddEndpoints(svc service.MeshService, endpoints []endpoint.Endpoint)

AddEndpoints adds the given endpoints to the EndpointsBuilder for the provided service.

func (*EndpointsBuilder) Build

func (b *EndpointsBuilder) Build() []types.Resource

Build generate Envoy endpoint resources based on stored endpoints

Jump to

Keyboard shortcuts

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