nodeutil

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

func ShouldAgentReattest(err error) bool

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

func ShouldAgentShutdown

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