service

package
v0.0.0-...-f584327 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// TLS is the secure config of peer service client
	TLS *tls.Config

	// EnableEtcdProxy is the flag if etcd proxy should start
	EnableEtcdProxy bool
}

Config is the config of peer revision

type PeerService

PeerService defines the interface provided for peer communication

func NewPeerService

func NewPeerService(le leader.LeaderElection, m metrics.Metrics, b backend.Backend, config Config) PeerService

NewPeerService return a PeerService for server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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