nodeutil

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAgentBanned

func IsAgentBanned(node *common.AttestedNode) bool

IsAgentBanned determines if a given attested node is banned or not. An agent is considered as "banned" if its X509 SVID serial number is empty.

func ShouldAgentReattest added in v0.12.0

func ShouldAgentReattest(err error) bool

ShouldAgentReattest returns true if the Server returned an error worth rebooting the Agent

func ShouldAgentShutdown added in v1.4.2

func ShouldAgentShutdown(err error) bool

ShouldAgentShutdown returns true if the Server returned an error worth shutting down the Agent

Types

This section is empty.

Jump to

Keyboard shortcuts

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