servicediscovery

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 10

README

Service Discovery

Service discovery defines the client & server behavior for discovery of a Kubescape-compatible Backend services.

In order to test your service discovery backend endpoint run:

go test ./... -url domain.example -version v1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServices

GetServices returns the services from the provided service discovery getter

func WriteServiceDiscoveryResponse

func WriteServiceDiscoveryResponse(w http.ResponseWriter, sds schema.IServiceDiscoveryServer)

WriteServiceDiscoveryResponse writes the service discovery response to the HTTP response writer This is used by the service discovery server to respond to HTTP GET requests

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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