processidentity

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(pid int) (string, error)

Get returns the boot ID and process start time in clock ticks since boot.

func Matches

func Matches(pid int, expected string) (bool, error)

Matches reports whether pid still refers to the recorded process lifetime.

func RequiresEnvironment

func RequiresEnvironment(identity string) bool

RequiresEnvironment reports whether an identity uses the legacy format, which is not safe across host reboots without an additional process check.

Types

This section is empty.

Jump to

Keyboard shortcuts

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