graceupdate

package
v2.7.3 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: 4 Imported by: 0

Documentation

Overview

Package graceupdate provides graceful update for easegress.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Global is gracenet Net struct
	Global = &gracenet.Net{}
)

Functions

func CallOriProcessTerm

func CallOriProcessTerm(done chan struct{}) bool

CallOriProcessTerm notifies parent process to exist.

func IsInherit

func IsInherit() bool

IsInherit returns if I am the child process on gracefully updating process.

func NotifySigUsr2

func NotifySigUsr2(closeCls func(), restartCls func()) error

NotifySigUsr2 handles signal SIGUSR2 to gracefully update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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