status

package
v0.0.0-...-48a44ca Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IstioAppPortHeader is the header name to indicate the app port for health check.
	IstioAppPortHeader = "istio-app-probe-port"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppProbeInfo

type AppProbeInfo struct {
	Path string
	Port uint16
}

AppProbeInfo defines the information for Pilot agent to take over application probing.

type Config

type Config struct {
	StatusPort       uint16
	AdminPort        uint16
	ApplicationPorts []uint16
}

Config for the status server.

type Server

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

Server provides an endpoint for handling status probes.

func NewServer

func NewServer(config Config) *Server

NewServer creates a new status server.

func (*Server) Run

func (s *Server) Run(ctx context.Context)

Run opens a the status port and begins accepting probes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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