catalog

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentSource

type EnvironmentSource interface {
	ListGatewayEnvironments(ctx context.Context) ([]protocol.Environment, error)
}

type EnvironmentSourceFunc

type EnvironmentSourceFunc func(ctx context.Context) ([]protocol.Environment, error)

func (EnvironmentSourceFunc) ListGatewayEnvironments

func (fn EnvironmentSourceFunc) ListGatewayEnvironments(ctx context.Context) ([]protocol.Environment, error)

type Service

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

func NewService

func NewService(options ...ServiceOption) *Service

func (*Service) ListEnvironments

func (s *Service) ListEnvironments(ctx context.Context, req protocol.CatalogRequest) (protocol.CatalogResponse, error)

type ServiceOption

type ServiceOption func(*Service)

func WithEnvironmentSource

func WithEnvironmentSource(source EnvironmentSource) ServiceOption

func WithGatewayMetadata

func WithGatewayMetadata(gateway protocol.GatewayMetadata) ServiceOption

Jump to

Keyboard shortcuts

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