manager

package
v0.0.0-...-7983b3b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAutoExit

func ConfigureAutoExit(ctx context.Context) error

ConfigureAutoExit starts automatic shutdown mechanism if necessary

Types

type ExitDetector

type ExitDetector interface {
	// contains filtered or unexported methods
}

ExitDetector is common interface for shutdown mechanisms

func DefaultNoProcessExit

func DefaultNoProcessExit() (ExitDetector, error)

DefaultNoProcessExit creates the default NoProcess shutdown detector

func NoProcessExit

func NoProcessExit(r []*regexp.Regexp) ExitDetector

NoProcessExit creates a shutdown detector based on running processes

Jump to

Keyboard shortcuts

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