discovery

package
v0.0.0-...-a3b2f4c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelGatewayEnabled    = "gateway.enabled"
	LabelGatewayServerPort = "gateway.server.port"
	LabelGatewayServerHost = "gateway.server.host"
	LabelGatewayAuthType   = "gateway.auth.type"
	LabelGatewayAuthData   = "gateway.auth.data"

	NetworkName = "proxy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SwarmDiscovery

type SwarmDiscovery struct {
	Client *client.Client
}

func NewSwarmDiscovery

func NewSwarmDiscovery(client *client.Client) *SwarmDiscovery

func (*SwarmDiscovery) ListServices

func (sd *SwarmDiscovery) ListServices(ctx context.Context) ([]common.Service, error)

Jump to

Keyboard shortcuts

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