nodeutil

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 6 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 IsUnknownAuthorityError added in v1.8.7

func IsUnknownAuthorityError(err error) bool

IsUnknownAuthorityError returns tru if the Server returned an unknow authority error when verifying presented SVID

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